var://service/transaction-rule-type
Persistent connection transaction variables
This section contains information about persistent connection variables in
alphabetic order by permission category. Table 21 lists the names and permission
for these variables.
Read-only variables
var://service/persistent-connection-counter
Read-write variables
var://service/connection/note
Routing transaction variables
This section contains information about routing variables in alphabetic order by
permission category. Table 22 lists the names and permission for these variables.
Write-only variables
var://service/routing-url
988
Command Reference
Gets the rule type of the transaction.
Table 21. Names and permissions for variables that are available for persistent connections
Variable name
var://service/connection/note
var://service/persistent-connection-counter
Gets the persistent connection counter. This variable returns the number of
transactions that were completed on the current protocol session.
Gets or sets the annotation for the current connection. This variable allows
the user to annotate the current protocol session. The value could be an
identifier that could be used to maintain the state based on an existing
protocol session.
Table 22. Names and permissions for variables that are available for routing
Variable name
var://service/routing-url
var://service/routing-url-sslprofile
For XML Firewall, Multi-Protocol Gateway, and Web Service Proxy
services, sets the routing URL. This variable can be set one time only and
takes the following format:
<dp:set-variable name="var://service/routing-url"
value="'protocol://target/URI'" />
v For XML Firewall services:
– The protocol must be HTTP or HTTPS. If any other protocol, the
service generates an error.
– The URI is stripped. To specify the URI, use the var://service/URI
variable, as shown in the following excerpt:
<dp:set-variable name="'var://service/routing-url'"
value="'http://10.10.36.11:2064'" />
<dp:set-variable name="'var://service/URI'"
value="'/services'" />
v For Multi-Protocol Gateway and Web Service Proxy services:
Permission
Read-write
Read-only
Permission
Write-only
Write-only