- Set Header to Expression
Selecting this option allows you to use an XQuery or XSLT expression to set the value of the header. The expression can be simple (for example, "text/xml") or a complex XQuery or XSLT expression.
Because the ALSB transport layer defines the XML representation of all headers as string values, the result of any expression is converted to a string before the header value is set. Expressions that return nothing result in the header value being set to the empty string. You cannot delete a header using an expression.
Warning: Not all of the header settings you can specify in this action are honored at run time.
- Delete Header
Specifies that the header is removed from the request or response metadata.
Copy Header from Inbound Request (if you are setting transport headers for the Outbound Request)
or
Copy Header from Outbound Response (if you are setting transport headers for the Inbound Response)
Specifies that this header is copied directly from the corresponding header of the same name from the inbound message to the outbound message and vice versa. For example, if you want to set the SOAPAction header for an outbound request, selecting Copy Header from Inbound Request causes the run time to copy the value from the SOAPAction request header of $inbound
. In the case of inbound response headers, the source of the header to copy is the response headers of $outbound
.
If the Copy Header... option is selected for a header that does not exist in the source, this option is ignored and no action is performed on the target for this header.