Skip to content
Advertisement

SOAPHandler handleFault

Can any one explain me when SOAPHandler‘s handleFault(SOAPMessageContext context) method is called ?

My Handler class is :

JavaScript

Can any one explain when handleMessage and handleFault method is called ?

Advertisement

Answer

According to : http://docs.oracle.com/cd/E13222_01/wls/docs103/webserv_adv/handlers.html#wp222524

handleMessage :

The Handler.handleMessage() method is called to intercept a SOAP message request before and after it is processed by the back-end component

and

handleFault :

Implement this method to handle processing of any SOAP faults generated by the handleMessage() method, as well as faults generated by the back-end component.

Advertisement