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 "Mark D. Hansen" <kh...@yahoo.com> on 2003/12/05 16:22:46 UTC

org.apache.axis.JAXRPCHandler question about handling SOAP faults

Does org.apache.axis.JAXRPCHandler handle SOAP faults the way that the JAX-RPC 1.0 specification intends?

My understanding is that this class should feed responses that are SOAP faults (i.e., SOAP messages containing <soap:Fault> element in the body) to the implementation class's handleFault(Context) method.

Instead, the org.apache.axis.JAXRPCHandler behavior seems to be that it sends any SOAP response (fault or not) to the implementation class's handleResponse(Context) method.  The only time the implementation class's handleFault(Context) method gets called is when another handler in the chain throws a fault and Axis invokes its onFault(MessageContext) method.

Has anyone else noticed a problem with this behavior when trying to use the JAXRPCHandler class?

Thanks,

Mark