AnsweredAssumed Answered

Log request xml to process log

Question asked by mahitha523 on Jun 29, 2016
Latest reply on Jun 30, 2016 by Adam Arrowsmith

I am hosting a web server that listens to requests(has unique ids) and forwarding the requests to multiple vendors based on the request type. I would like to log every request  received, sent to vendor, received from vendor and the actual response sent back to my web server client along with the unique Id received so that it will be easier in the future to debug in production . I know that we can achieve logging using groovy script, but not sure how we can log the full xml input to the log.  Can you please help us how to achieve it?