Forum Discussion

Donovan's avatar
Donovan
Occasional Contributor
11 years ago

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"/>

2 Replies

  • Donovan's avatar
    Donovan
    Occasional Contributor
    Okay, I got passed the load wsdl problem.

    I downloaded SoapUI 5.0 and it resolved that Issue. Now, I'm getting another issue.

    I installed tomcat 6 on local machine and deployed war to server.

    I'm getting a 404 error when calling service. However, the wsdl url resolves just fine. I'm confused. please help

    <html><head><title>Apache Tomcat/6.0.39 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /mockSoupUI/mockCrewComplementResponse</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/mockSoupUI/mockCrewComplementResponse</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.39</h3></body></html>