-
1. Re: Error Loading WSDL Definition <p> does not close tag <body>
dward Jun 11, 2010 11:00 AM (in response to rkn)I'm taking a guess here, but it appears the WSDL being provided by http://e6510-03:8088/mockScheduleMessageService?wsdl isn't actually WSDL, but HTML - and malformed HTML at that. Open up that WSDL link yourself in a web browser and see what it looks like.
-
2. Re: Error Loading WSDL Definition <p> does not close tag <body>
rkn Jun 11, 2010 11:49 AM (in response to dward)In fact i thought the same..
I just created a SoapUI MockService based on following wsdl, and doesn't look malformed at all
thx
-
ScheduleMessageServiceV1_0.wsdl.zip 785 bytes
-
-
3. Re: Error Loading WSDL Definition <p> does not close tag <body>
dward Jun 11, 2010 12:00 PM (in response to rkn)I wonder if the server is performing an HTML-based (via http-equiv meta refresh url) browser redirect when you initially hit the WSDL link, then the WSDL shows up in your browser, but the action isn't following the redirect, and just tries reading the mal-formed HTML as if it were WSDL. That is a BIG, BIG shot-in-the-dark GUESS. Without being able to trace the http invocation myself, I don't know. Maybe give TCPMon a try?
-
4. Re: Error Loading WSDL Definition <p> does not close tag <body>
dward Jun 11, 2010 12:01 PM (in response to dward)Or wait a minute.... I see this line in the WSDL:
<include schemaLocation="ScheduleMessageServiceV1_0Schema.xsd" />
Try loading that in your browser, relative to the WSDL. I bet the web server is returning a 404 not found page, or similar. That might be where the mal-formed HTML is coming from.
That would be a more likely guess.
-
5. Re: Error Loading WSDL Definition <p> does not close tag <body>
rkn Jun 11, 2010 4:41 PM (in response to dward)good point, although if I point my browser to http://ipt-e6510-03:8088/mockScheduleMessageService?WSDL&interface=ScheduleMessageService&part=ScheduleMessageServiceV1_0Schema.xsd
I can see the schema definition!
Did u try loading a wsdl with a separate schema definition? The examples are pretty simple and don't cover this case.
Thx again
-
6. Re: Error Loading WSDL Definition <p> does not close tag <body>
dward Jun 15, 2010 10:28 AM (in response to rkn)Try TCPMon to see what's being requested, and more importantly, from where. I bet it's looking here: http://ipt-e6510-03:8088/ScheduleMessageServiceV1_0Schema.xsd , since that's what's relative to your mockScheduleMessageService.
-
7. Re: Error Loading WSDL Definition <p> does not close tag <body>
rkn Jun 17, 2010 4:22 PM (in response to dward)Thx David,
I think I understood the reason for above message. SOAP_UI inserts a response
HTTP/1.1 200 OK
Content-Type: text/html; charset=iso-8859-1
Transfer-Encoding: chunked
Server: Jetty(6.1.x)B9
<html>
<body>
<p>There are currently 1 running soapUI MockServices</p>
<ul>
<li>
<a href="/mockScheduleMessageService?WSDL">ScheduleMessageService MockService</a>
</li>
</ul>
</p></body></html>But the problem is the request is not correct, tcp_mon says:
GET /mockScheduleMessageService?wsdl HTTP/1.1
User-Agent: Jakarta Commons-HttpClient/3.0.1
Host: localhost:8084GET //mockScheduleMessageService?WSDL&interface=ScheduleMessageService&part=ScheduleMessageServiceV1_0Schema.xsd HTTP/1.1
User-Agent: Jakarta Commons-HttpClient/3.0.1
Host: IPT-E6510-03:8084Considering my jboss-esb configuration:
<action name="unmarshall" process="process">
</action>
<action name="soapui-client-action"
class="org.jboss.soa.esb.actions.soap.SOAPClient">
<property name="wsdl" value="@FTP_WSDL@" />
<property name="SOAPAction" value="submitScheduleMessage"/>
<property name="responseAsOgnlMap" value="true" />
</action>and my action:
ScheduleEnvelope scheduleEnvelope=new ScheduleEnvelope();
scheduleEnvelope.setScheduleMessage(scheduleMessage);submitScheduleMessageRequest.setScheduleEnvelope(scheduleEnvelope);
Map requestMap=new HashMap();
requestMap.put("submitScheduleMessage", submitScheduleMessageRequest);message.getBody().add(requestMap);
my wsdl:
<binding name="ScheduleMessageService" type="Schedu:ScheduleMessageService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="submitScheduleMessage">
<soap:operation style="document" soapAction="http://service.bgm2.swissgrid.ch/schedule/ScheduleMessageService/v1/ScheduleMessageService/submitScheduleMessage"/>
<input name="submitScheduleMessageRequest">
<soap:body use="literal"/>
</input>
<output name="submitScheduleMessageResponse">
<soap:body use="literal"/>
</output>don't understand now what's wrong..
-
8. Re: Error Loading WSDL Definition <p> does not close tag <body>
rkn Jun 19, 2010 11:29 AM (in response to rkn)I solved my problem patching JBoss5 with JDK1.6 under
http://community.jboss.org/wiki/JBossAS5integrationforESB4x
thx
-
9. Re: Error Loading WSDL Definition <p> does not close tag <body>
dward Jun 22, 2010 1:07 PM (in response to rkn)I'm glad you got it working.