webMethods 10.2 | Service Development Help | Working with Web Services | Adding SOAP Headers to the Pipeline
 
Adding SOAP Headers to the Pipeline
For a web service descriptor, you can instruct Integration Server to add the contents of SOAP headers to the pipeline, making the contents of the SOAP headers available to subsequent services. The value of the Pipeline headers enabled property determines whether or not Integration Server places the contents of the SOAP header in the pipeline as a document named soapHeaders. The default value is false.
If the Pipeline headers enabled property is set to true for a provider WSD, when an IS service that corresponds to an operation in the WSD is invoked, Integration Server places the contents of the SOAP request header in the input pipeline for the IS service.
If the Pipeline headers enabled property is set to true for a consumer WSD, when one of the web service connectors is invoked, Integration Server places the contents of the SOAP response header in the output pipeline for the web service connector.
For detailed information about the content and structure of the soapHeaders document that Integration Server adds to the pipeline, see Web Services Developer’s Guide.
Note: For web service descriptors contained in packages created in versions of Integration Server prior to 8.0, the Pipeline headers enabled property is set to True.
* To add SOAP headers to the pipeline
1. In Package Navigator view, open and lock the web service descriptor for which you want to enable or disable adding SOAP headers to the pipeline.
2. In the Properties view, next to Pipeline headers enabled, select True if you want to enable SOAP headers for the web service descriptor. Otherwise, select False.
3. Click File > Save.

Copyright © 2017-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release