4 Replies Latest reply on Nov 11, 2013 4:28 AM by AbhishekJ

    How to print UniqueID for request and 'its' response in OSB logs

    user10305697

      Hi All,

       

      I am looking for help/suggestion for the following scenario:

       

      Currently we are logging $body variable to OSB logs for both request and its response. But sometimes it is difficult to relate a request to its response since there are multiple calls to same service at same time. So we have dig hard into the logs to find the association between the request and response. To over come this issue I want to know if it is possible to print a uniqueID for request and response pair? Do I need to write an assertion and expose it as a WS-Policy and then attach it to proxy service? I cannot use a report action as client policies refrains to do that.

       

      How to go about it. Please advise.

       

      Please let me know if more information/clarification is required on the question.

       

      Thanks,

      Vikas