Technote (troubleshooting)
Problem(Abstract)
When setting header fields using the IBM WebSphere DataPower extension function dp:set-header() in a stylesheet, some or all of the headers do not show up on the back end.
Symptom
Setting the DataPower variable 'var://service/routing-url' will cause the service to immediately:
- Establish a backside connection
- Send the header information
- Start streaming the body to the back end (in some cases)
Cause
A snapshot of the headers is taken and sent to the back end as soon as the DataPower variable 'var://service/routing-url' is set. Any changes or additions to headers that happen after the setting of the routing-url variable do not persist because the header values were already sent to the back end.
This behavior pertains to all methods of setting headers, including set variable actions as well as using extension elements.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.