Aborting Handler Processing
If you wish to stop the further processing of a message by the message processing layer (for instance, based on a SOAP header it contains) you may do so.
From your handler implementation, simply invoke
 
callInfo.stopMessageProcessing();
This method aborts the further processing of a message.
*The handler has responsibility for any other necessary handling, such as setting a response if a response is expected.
*The service transport handlers that were invoked on the request message are invoked on the response message as well before it is returned to the client. For example, if a request was processed by a transport handler that decompressed the message, the response message provided by the aborted handler would be compressed on the way out.