Headers Transaction Variables - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Read-write variables
var://service/error-code
var://service/error-ignore
var://service/error-message
var://service/error-subcode
var://service/strict-error-mode

Headers transaction variables

This section contains information about header variables in alphabetic order by
permission category. Table 19 lists the names and permission for these variables.
Read-only variables
var://service/header-manifest
Write-only variables
var://service/append-request-header/
986
Command Reference
Gets or sets the assigned error code from the Result Code table.
Gets or sets a flag that controls how the Front Side Handler processes error
condition. If the value is set and greater than zero, it does not run any
error handling action and produces a regular response. The content of the
message is produced by an error rule.
The default value is 0.
Gets or sets the generic error message that is sent to the client. This
variable contains the error condition that stopped multistep processing.
Setting this variable overwrites the error response that is sent to the client
in an error condition. To set the error message that is written to the log
file, use the var://service/formatted-error-message variable.
Gets or sets the error sub-code. This variable can help to disambiguate the
reason for which the error rule was invoked. Often, the sub-code is the
same as the value of the var://service/error-code variable. Sometimes,
the sub-code is a more specific result code.
Gets or sets the strict error mode. This variable controls the error mode for
multistep processing.
v If the value is set, an invocation of the dp:reject extension element
stops multistep processing.
v If the value is not set, an invocation of the dp:reject extension element
logs a message but does not stop multistep processing.
Table 19. Names and permissions for variables that are available for headers
Variable name
var://service/append-request-header/
var://service/append-response-header/
var://service/header-manifest
var://service/set-request-header/
var://service/set-response-header/
Gets the transaction header manifest. The manifest lists all protocol
headers of current transaction.
Appends to the protocol request header.
Permission
Write-only
Write-only
Read-only
Write-only
Write-only

Advertisement

Table of Contents
loading

Table of Contents