Yes !!! That's what happens in normal scenario.
I have written a proxy servlet which intercepts all WebService requests for routing them to appropriate WebServices on URL patterns. Servlet uses HttpClient POST method to actually invoke WebService. WebService response is validated for status code and routed back to caller. If SOAP response has SOAP Fault error, does caller (SOAP Client) expect a SOAP Fault error code or any specific information into header. When I am routing SOAP Fault request back to SOAP Client, i am getting following error on Console -
<Handler weblogic.webservice.core.h
jvm 1 | weblogic.utils.NestedRunti
jvm 1 | [java.io.IOException: The InputStream did not contain a valid SOAP message.].>
Any suggations? Where am I wrong?
Thanks,
Main Topics
Browse All Topics





by: cmalakarPosted on 2008-01-31 at 23:03:50ID: 20794699
SOAPAction header is meant for request... not responses..
In SOAP Fault response, you can look for SOAP Fault Element inside the body...
Also you can use "faultstring" to retrieve the human readable error.