This article describes how you can configure your system to pass HTTP Headers in a SOAP WS Consumer without using SOAP envelope headers.
How it works
- Open your Business Process and add a new task right before invoking SOAP WS Consumer and select Process Environment - Set Value task.
- In the Variables area, set v_variableName to soapHttpHeaders.
- In the Variables area, set v_variableValue to some valid JSON either in String, JSON, or StorageNode format. This is the value you want to pass in your request.
Note: If the Variable Name value you provide is not valid JSON, the HTTP headers are ignored.
Here is an example of a Job in CIC Cockpit with an HTTP header passed as configured above.