You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jeff Greif <jg...@alumni.princeton.edu> on 2005/04/25 21:22:09 UTC

exception vs. response containing soap:Fault

In a message-style client that does:

   SOAPEnvelope response = (SOAPEnvelope) call.invoke(requestEnvelope);

sometimes a SOAPEnvelope containing a soap:Fault is returned, and other 
times an exception is thrown from invoke() (the deserialization 
mechanism) and there is no response envelope available.

Does this depend upon the type of exception that is thrown on the server 
side, and if so, what is the rule?

When the exception is thrown in the client, is it possible to capture 
the soap response from the server another way?

Jeff