XML : How to save xml error message in log file?

When I access xml, there is error message like this :

  <ErrorMSG>Credit limit exceed. Booking cannot be proceed. </ErrorMSG></Response>    

I want save the error message in log file

How to save xml error message in log file?

Thank you

No comments:

Post a Comment