Hi,
Can any one tried to read the SOAP header information in the request handler and send the same information back to the consumer using the response handler in webMethods version 7.1.2.
Any idea what the best practice is?
I have tried the following but unseccessful.
- Read the SOAP header QName trackingHeader as in the following xml,
<t:trackingHeader xmlns:date="[URL]http://exslt.org/dates-and-times[/URL][COLOR=#0000ff]" xmlns:t=“[/color][URL]http://www.company.com/ios/v1[/URL][COLOR=#0000ff]”>
<t:requestId>72ca0830-d66f-4552-8576-ae273c221460</t:requestId>
<t:timestamp>2009-12-09T08:49:00Z</t:timestamp>
</t:trackingHeader>[/color]
I am able to read the soapHeaders using the handlerequest handler. have populated the trackingHeader document.
2. After the service successful execution, the handle response header is invoked, where the trackingHeader document is mapped to the headerdocument required by addHeaderElement service.
I have tested with savepipelinetofile in the response handler service, but stored nothing from the pipeline. However, client is able to receive the response without header.
Appreciate your suggestions on the above issue…
Regards
KN