Headers - Task Properties (Magic xpa 3.x)
From the Headers property, you can select a variable of the current task, which will receive all headers passed from a consumer (in the request), and will pass any number of header blocks to the consumer (in the response).
The content of the Headers property is an XML document with a root element named EDEV_SOAP_HEADERS. This XML document should contain one or more header blocks.
You can zoom from this optional property to select a Blob, Alpha, or Unicode variable.
If a program activated as a Web service has the Headers property selected, all header entries of the incoming request will be automatically filled (by Magic xpa) into this variable.
The content of the Headers variable at the time of the request’s completion will be returned to the consumer.
If the response should not include headers, the called program should nullify the Headers variable.
If the Headers variable was selected and the variable is not Null and the name of the XML root element does not match the name EDEV_SOAP_HEADERS, the task will be aborted, and an error will be written to the General Error Log.
Relevant interfaces: Batch programs (not tasks)
How Do I Receive a SOAP Header and Send a Result?