|
Title: Missing soapUI project file..(Soapui-2.0.2 in unix environment) Post by: apoorva 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 Title: Re: Missing soapUI project file..(Soapui-2.0.2 in unix environment) Post by: omatzura 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 Title: Re: Missing soapUI project file..(Soapui-2.0.2 in unix environment) Post by: Robert Nemet 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 Title: Re: Missing soapUI project file..(Soapui-2.0.2 in unix environment) Post by: apoorva 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 |