[esb-users] Problem with SOAPClient Action

Kevin Conner kconner at redhat.com
Thu Dec 4 09:51:11 EST 2008


The log shows that the exception is coming from the webservice, so you
need to look at the logs on that side.  The only concern that I could
have from our code would be that it is not differentiating a fault
response from a normal response.

	Kev

2008-12-04 14:15:29,530 DEBUG [httpclient.wire.header] << "HTTP/1.1 500
Internal Server Error[\r][\n]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.header] << "Content-Type:
text/xml; charset=utf-8[\r][\n]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.header] <<
"Transfer-Encoding: chunked[\r][\n]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.header] << "Server:
Jetty(6.1.11)[\r][\n]"
2008-12-04 14:15:29,530 WARN
[org.jboss.soa.esb.actions.soap.SOAPClient] Received status code '500'
on HTTP SOAP (POST) request to 'http://localhost/webservices/services/web'.
2008-12-04 14:15:29,530 WARN
[org.apache.commons.httpclient.HttpMethodBase] Going to buffer response
body of large or unknown size. Using getResponseBodyAsStream instead is
recommended.
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "1"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "6"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "9"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "[\r]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "[\n]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] <<
"<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Unexpected
EOF in prolog&#xd;[\n]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << " at [row,col
{unknown-source}]:
[1,0]</faultstring></soap:Fault></soap:Body></soap:Envelope>"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "[\r]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "[\n]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "0"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "[\r]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "[\n]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "[\r]"
2008-12-04 14:15:29,530 DEBUG [httpclient.wire.content] << "[\n]"


-- 
JBoss, a Division of Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire,
SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons
(USA) and Brendan Lane (Ireland)



More information about the esb-users mailing list