XPath that has been used inside Synapse xpath processing. This has a extension function named get-property
which is use to retrieve message context properties with the given name from the function
For example the following function get-property('prop')
can be evaluatedd using an XPath to retrieve the message context property value with the name prop
.
Apart from that this XPath has a certain set of XPath variables associated with it. They are as follows;
- body
- The SOAP 1.1 or 1.2 body element.
- header
- The SOAP 1.1 or 1.2 header element.
Also there are some XPath prefixes defined in SynapseXPath
to access various properties using XPath variables, where the variable name represents the particular prefix and the property name as the local part of the variable. Those variables are;
- ctx
- Prefix for Synapse MessageContext properties
- axis2
- Prefix for Axis2 MessageContext properties
- trp
- Prefix for the transport headers
This XPath is Thread Safe, and provides a special set of evaluate functions for the MessageContext
and SOAPEnvelope
as well as a method to retrieve string values of the evaluated XPaths
@see org.apache.axiom.om.xpath.AXIOMXPath
@see #getContext(Object)
@see org.apache.synapse.util.xpath.SynapseXPathFunctionContext
@see org.apache.synapse.util.xpath.SynapseXPathVariableContext