Hi Ronnie,
If your question is -
- To print request headers from REST client itself i.e., you have a REST web service and while you do request call to that web service you want to print what is in request.
Then it is very easier after you set headers in pub.client:http, just call tracePipeline or debugLog services as in screenshot to get headers printed on server log.
- To print request headers from REST server itself i.e., how within REST web service when a client calls it passing some headers, those header values can be used within (or passed to) mapped service.
Then I’m also not pretty sure how to get them. When I experimented, any attribute passed as part of request URL (for ex: URL?attribute1=value1), is visible (when I used Tracepipeline as a first step in mapped service being called within Resource config of REST resource), but headers are not visible in server log.
Chandra
#webMethods#Integration-Server-and-ESB