header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
November 22, 2008, 02:09:54 am
Username: Password:
Login with username, password and session length

Forgot your password?
 
Missing soapUI project file..(Soapui-2.0.2 in unix environment)
Welcome, Guest. Please login or register.
November 22, 2008, 02:09:54 am
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Missing soapUI project file..(Soapui-2.0.2 in unix environment)
« previous next »
Pages: [1] Print
Author Topic: Missing soapUI project file..(Soapui-2.0.2 in unix environment)  (Read 546 times)
apoorva
Newbie
*
Posts: 16


« on: July 01, 2008, 10:02:58 pm »

Hi,

I download soapui2.0.2 in Unix. I copied soapui-project-file.xml from windows environment to unix. And I changed the value of <con:setting id="ProjectSettings@projectRoot"> path-value </con:setting> of soapui-project.xml file corresponding my unix's user path. I gave input fromURL to load WSDL in project.

I dont have GUI environment in Unix. when I try to run mockservice from command line

sh mockservicerunner.sh -m"SidManagementWSSOAP11Binding MockService" "/local/mnt/home/camadmin/soapui-2.0.2/SIDManagement-soapui-project.xml"

I found following error..
================================
=
= SOAPUI_HOME = /home/camadmin/soapui-2.0.2
=
================================
soapUI 2.0.2 MockService Runner
usage: mockservicerunner [options] <soapui-project-file>
 -s    Sets the soapui-settings.xml file to use
 -a    Sets the url path to listen on
 -b    Turns off blocking read for termination
 -m    Specified the name of the MockService to run
 -p    Sets the local port to listen on

Missing soapUI project file..


I will appreciate if anyone provide input please.

Thanks in advance

Regards,
Jim
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,425


« Reply #1 on: July 03, 2008, 12:09:31 am »

Hi Jim,

I'm really no expert here.. maybe you need to use the -c option when calling sh?

sh -c mockservicerunner.sh etc..

?

regards,

/Ole
eviware.com
Logged
Robert Nemet
Global Moderator
Newbie
*****
Posts: 2


« Reply #2 on: July 03, 2008, 05:17:47 pm »

>sh mockservicerunner.sh -m"SidManagementWSSOAP11Binding MockService" "/local/mnt/home/camadmin/soapui-2.0.2/SIDManagement-soapui-project.xml"

Your service name have white space. Remove it from service name example:  ...<con:mockService port="8088" path="/mockSidManagementWSSOAP11Binding" name="SidManagementWSSOAP11Binding">...

Unix removes " and for it looks like you are parsing 3 instead 2 params. So, it should be something like this:

sh mockservicerunner.sh -mSidManagementWSSOAP11Binding /local/mnt/home/camadmin/soapui-2.0.2/SIDManagement-soapui-project.xml


Logged
apoorva
Newbie
*
Posts: 16


« Reply #3 on: July 03, 2008, 07:52:46 pm »

Thanks Robert for your suggestion.

I also found alternate way not good enough but able to start mockservice now..

I removed -m option and simply passing one argument project name..

sh mockservicerunner.sh "/local/mnt/home/camadmin/soapui-2.0.2/SIDManagement-soapui-project.xml"

Regards,
Jim
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header