Donovan
11 years agoOccasional Contributor
WSDL Not loading correctly
Hello Team,
I have built a mock service and deployed it as WAR onto Tomcat 7.
Now when trying to consume Wsdl within another SoapUI project I'm getting the following errors
When consuming url.
Error loading [http://127.0.0.1:8080/mockResponse?WSDL&interface=CreBinding∂=Common.xsd]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error:
When consuming local wsdl file.
Error loading [file:\C:\Users\mtdonovan\Documents\\mockResponse?WSDL&interface=CretBinding∂=Common.xsd]: java.io.FileNotFoundException: C:\Users\mtdonovan\Documents\mocktResponse?WSDL&interface=CreBinding∂=Common.xsd (The filename, directory name, or volume label syntax is incorrect
Do I place the schema in the relative folder path in the WAR location? I'm confused. Thank you
.
These location are in the wsdl
<xs:include schemaLocation="/mockResponse?WSDL&interface=CretBinding&part=Common.xsd"/>
<xs:include schemaLocation="/mockResponse?WSDL&interface=CreBinding&part=SimpleTypes.xsd"/>
<xs:include schemaLocation="/mockResponse?WSDL&interface=CreBinding&part=Feature.xsd"/>
<xs:include schemaLocation="/mockResponse?WSDL&interface=CreBinding&part=QueryResults.xsd"/>
I have built a mock service and deployed it as WAR onto Tomcat 7.
Now when trying to consume Wsdl within another SoapUI project I'm getting the following errors
When consuming url.
Error loading [http://127.0.0.1:8080/mockResponse?WSDL&interface=CreBinding∂=Common.xsd]: org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error:
When consuming local wsdl file.
Error loading [file:\C:\Users\mtdonovan\Documents\\mockResponse?WSDL&interface=CretBinding∂=Common.xsd]: java.io.FileNotFoundException: C:\Users\mtdonovan\Documents\mocktResponse?WSDL&interface=CreBinding∂=Common.xsd (The filename, directory name, or volume label syntax is incorrect
Do I place the schema in the relative folder path in the WAR location? I'm confused. Thank you
.
These location are in the wsdl
<xs:include schemaLocation="/mockResponse?WSDL&interface=CretBinding&part=Common.xsd"/>
<xs:include schemaLocation="/mockResponse?WSDL&interface=CreBinding&part=SimpleTypes.xsd"/>
<xs:include schemaLocation="/mockResponse?WSDL&interface=CreBinding&part=Feature.xsd"/>
<xs:include schemaLocation="/mockResponse?WSDL&interface=CreBinding&part=QueryResults.xsd"/>