Description
Consider following method that throws a Exception and SOAP message on wire.
public void throwException(String message) throws MyException
{ throw new MyException( "An exception thrown at ExceptionThrower with the message " + message); }<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>An exception thrown at ExceptionThrower with the message message1</faultstring>
<detail>
<ns:SimpleServiceMyException xmlns:ns="http://adobe29.sample">
<MyException xsi:type="ax21:MyException" xmlns="http://adobe29.sample" xmlns:ax21="http://adobe29.sample/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</ns:SimpleServiceMyException>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
In client side it's not possible to see above faultstring message and losings important details return by the server.