Forum Discussion

Wipro_Limited's avatar
Wipro_Limited
New Contributor
15 years ago

Running the Mock Producer in solaris -- java.lang.Exception: Missing local file

We are trying to Mock a Response in Solaris environment.The Response has created in Windows environment and pasted the same in /bin folder and executed the ./mockservicerunner.sh script with needed attributes.
which is giving following error.

java.lang.Exception: Missing local file for [file:D:/OnStar/IG/R 2.5/Define/Services/IG Schemas/IG_Schemas_20091002/GetVehicleUnit/http___www.openapplications.org_oagis_9.xsd]
        at com.eviware.soapui.impl.support.definition.export.AbstractDefinitionExporter.replaceLocation(AbstractDefinitionExporter.java:200)
        at com.eviware.soapui.impl.support.definition.export.AbstractDefinitionExporter.replaceImportsAndIncludes(AbstractDefinitionExporter.java:172)
        at com.eviware.soapui.impl.support.definition.export.AbstractDefinitionExporter.createFilesForExport(AbstractDefinitionExporter.java:99)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.initWsdlCache(WsdlMockRunner.java:111)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.(WsdlMockRunner.java:96)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockService.start(WsdlMockService.java:170)
        at com.eviware.soapui.impl.wsdl.mock.WsdlMockService.start(WsdlMockService.java:426)
        at com.eviware.soapui.tools.SoapUIMockServiceRunner.runMockService(SoapUIMockServiceRunner.java:182)
        at com.eviware.soapui.tools.SoapUIMockServiceRunner.runRunner(SoapUIMockServiceRunner.java:115)
        at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:127)
        at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:72)
        at com.eviware.soapui.tools.SoapUIMockServiceRunner.main(SoapUIMockServiceRunner.java:61)

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    this looks like the WSDL was not cached in the project file and soapUI is now trying to read it from the file-system.. could that be the case? You can enable caching of WSDLs (which should be enabled by default) in the project properties table; select the project and check the bottom left "Cache Definitions" to be true and then save the project (make sure the WSDL has actually been loaded by opening the Service window or something).

    Does that help?

    regards!

    /Ole
    eviware.com