I should have been more specific on my question. The invokeBusinessLogic method in the generated MessageReceiverInputOutput class is called by the axis library. The invokeBusinessLogic method calls the method in the generated Skeleton class. Everything is fined in the return from the Skeleton method and invokeBusinessLogic. The problem is when axis returns the response back to the HTTPServlet and the
servlet detects SoketIO error. I tried putting the following code in the finally block of the invokeBusinessLogic but it is not working. I am looking for something almost like a callback to detect response to the client and then perform action based on the status of the response to the client.
finally{
if(newMsgContext.isFault()){
//Any update to database or sending msg, only if there is no fault then perform opertion System.out.println("Fault detected in
SOAP response");
}
Thank you so much for your time.