This discussion is archived
4 Replies Latest reply: Nov 10, 2013 8:28 PM by AbhishekJ RSS

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

user10305697 Newbie
Currently Being Moderated

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

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points