I am working a salesforce integration project. We are making n number of web service calls to third party services. Now I have to implement a logger , where I need to store the soap request and response in xml format. Most preferable is the same soap request and response xml.
How I can intercept this request and response , in apex programmatically ?
Is it the only option left to xml serialize my request and response explicitly ?
Thanks every body for participating . I did intercepted in the proxy class (Generated from WSDL) and logged the toString() response (I have overridden the request and response stubs for as Json) of request and response objects into a custom sObject.