Forum Discussion

mavster07's avatar
14 years ago

Unable to load WSDL - File Not Found Error

Hi,

I'm using SOAP/UI to test a web service and I'm seeing an error as soon as I try to load the WSDL.

Can anyone see anything clearly wrong with the WSDL or suggest what might be causing this error?

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="Exp_SubmissionService_SOAP_SubmissionServiceHttp_Service" targetNamespace="http://somecompany.eai.product.co.uk/ML_EclipseServiceLibsomecompany.eai.productrary/wsdl/SubmissionService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:this="http://somecompany.eai.product.co.uk/ML_EclipseServiceLibrary/wsdl/SubmissionService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<wsdl:import namespace="http://somecompany.eai.product.co.uk/ML_EclipseServiceLibrary/wsdl/SubmissionService" location="SubmissionService.wsdl">
</wsdl:import>
<wsdl:binding name="Exp_SubmissionService_SOAP_SubmissionServiceHttpBinding" type="this:SubmissionService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SendSubmission">
<soap:operation soapAction=""/>
<wsdl:input name="SendSubmissionRequest">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="SendSubmissionResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="SendSubmissionFault">
<soap:fault name="SendSubmissionFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="Exp_SubmissionService_SOAP_SubmissionServiceHttpService">
<wsdl:port name="Exp_SubmissionService_SOAP_SubmissionServiceHttpPort" binding="this:Exp_SubmissionService_SOAP_SubmissionServiceHttpBinding">
<soap:address location="http://myhost:20304/MM_SubmissionService_ValidationWeb/sca/Exp_SubmissionService_SOAP"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>






Thu Feb 24 15:46:23 GMT 2011:ERROR:Failed to load url [file:/Volumes/SCRATCH/SubmissionService.wsdl]
Thu Feb 24 15:46:23 GMT 2011:ERROR:Loading of definition failed for [file:/Volumes/SCRATCH/SubmissionService_Validation_WS.wsdl]; java.io.FileNotFoundException: /Volumes/SCRATCH/SubmissionService.wsdl (No such file or directory)
Thu Feb 24 15:46:23 GMT 2011:ERROR:An error occured [/Volumes/SCRATCH/SubmissionService.wsdl (No such file or directory)], see error log for details
Thu Feb 24 15:46:23 GMT 2011:ERROR:Error importing wsdl: java.lang.Exception: java.io.FileNotFoundException: /Volumes/SCRATCH/SubmissionService.wsdl (No such file or directory)
Thu Feb 24 15:46:23 GMT 2011:ERROR:An error occured [java.io.FileNotFoundException: /Volumes/SCRATCH/SubmissionService.wsdl (No such file or directory)], see error log for details
Thu Feb 24 15:46:23 GMT 2011:ERROR:An error occured [Error importing wsdl], see error log for details

2 Replies

  • Please note the section<wsdl:import namespace="http://somecompany.eai.product.co.uk/ML_EclipseServiceLibrary/wsdl/SubmissionService" location="SubmissionService.wsdl"> </wsdl:import> Soap tries to import the wsdl file that is specified in the import section. Contact your wsdl vendor to obtain this SubmissionService.wsdl file. And put it in the folder where your main wsdl is located

  • Humashankar's avatar
    Humashankar
    Champion Level 2

    Ensure the URL you are using to access WSDL is correct
    Also SSL/TTS Config while setup to handle for SSL