jeudi 21 mai 2015

RUN code after sending SOAP response in java

My web service get a SOAP request from user. After doing all the stuff in service could I send back the user response and then run some code ?

Actually I want to log the output of my service. If I run the code that logs the output and if that logging service fails, I could not send back any response due to that error.

IS there a way that I send user response of my service and then run logging service after that ?

I tried close method of SOAP handler but it runs before my service has returned response.




Aucun commentaire:

Enregistrer un commentaire