XML Body variables let you obtain information from any element in the body (or payload) of an incoming XML message for use in policy expressions and responses.
Specifically, XML Body variables are resolved to the value of an XPath string that identifies an element (and optionally, an operation to perform on that element) of an XML document.
Note: For more information about XPATH, see the XPATH specification available at http://www.w3.org/TR/xpath.
Follow these steps:
Verify that the Create a new object of type Variable option is selected.
(Optional) Specifies a brief description of the variable.
Limits: No more than 1KB.
Specifies the data type in which the value of the specified XPATH query should be returned:
The schema is uploaded.
The Select a node group box displays the selected schema using a standard tree-style hierarchical view. Click the plus sign (+) next to an element to expand it. Click the minus sign (-) beside an expanded element to contract it. Elements marked with an asterisk (*) are repeatable within the XML document (that is, incoming XML documents may contain multiple instances of that element).
The Function option lets you create more complex mappings by processing functions that further evaluate the XML document.
Note: For more information about these functions, go to the XPATH specification at http://www.w3.org/TR/xpath.
The variable appears in the Variables tab of the domain. The variable can now be used in policy expressions or responses.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|