BusinessService error in msg parsing: xml was empty, didn't parse!
955933Aug 15 2012 — edited Aug 16 2012Hi
I'm trying to consuming a WebService implemented in PHP, the WS its internal
http://192.168.2.15:81/project/service/ws.wsdl
I created a BusinessService from that WSDL, but when i test the businessService through the sbconsole i get this
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode xsi:type="xsd:string">SOAP-ENV:Client</faultcode>
<faultactor xsi:type="xsd:string"/>
<faultstring xsi:type="xsd:string">
error in msg parsing:
xml was empty, didn't parse!
</faultstring>
<detail xsi:type="xsd:string"/>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:user-header name="X-Powered-By" value="PHP/5.2.1"/>
<tran:user-header name="X-SOAP-Server" value="NuSOAP/0.9.5 (1.123)"/>
<http:Connection>close</http:Connection>
<http:Content-Length>689</http:Content-Length>
<http:Content-Type>text/xml; charset=ISO-8859-1</http:Content-Type>
<http:Date>Wed, 15 Aug 2012 14:55:28 GMT</http:Date>
<http:Server>Apache/2.2.4 (Win32)</http:Server>
</tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">2</tran:response-code>
<tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">Internal Server Error</tran:response-message>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">ISO-8859-1</tran:encoding>
<http:http-response-code xmlns:http="http://www.bea.com/wli/sb/transports/http">500</http:http-response-code>
</con:metadata>
-- Added
I forgot to say that the WS works well when i tested with SoapUI
--
Any help would be apreciated.
Thanks
Edited by: user4159641 on 15-ago-2012 8:00