Http Outbound Adapter Trace outgoing message
Hello All,
I have a outbound Http adapter.
How do i see the HTTP Request which is going out using Message Viewer or Trace? I want to see the entire message with the Headers and Body.
Thanks,
Jimmy Christian
Hi Jimmy,
For such scenario, we should $$$Trace.
We can covert HTTP request to string and pass it in trace. $$$Trace can take string or anything inherited from ens.message.
In Production, in the corresponding Business Operation, find Enable trace setting.
Then for next transaction, you can see the httprequest in trace.
Don't forget to disable the trace option once you are done, as we should try this only for debugging purpose.
Regards
Sourabh
Thanks Sourabh. I was able to put some debug variables and troubleshoot the issue.
Appreciate your help.
Regards,
Jimmy Christian
Thats a good suggestion.
I will check that option out and see how to use POSTMAN as a proxy. Will let you know.
Thank you Jeffrey.
Jimmy,
If you're interested in just examining the headers and body generated by your request, you can install Postman and use it as a proxy. It will capture everything for you and present it in a very readable format.
For general approaches check Debugging Web articles: Part 1, Part 2.
Thank you Eduard.
Very informative article.
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue