When the result of an XPath evaluation results in a single XML node, the evaluator will return the text content of this node by default (equivalent of doing /root/body/node/text()). If you want to retrieve the node itself, you can configure the Enrich mediator s as shown in the following example.
get-property('system', String propertyName)
You can retrieve a property in the operation context level from the
operation scope. The properties within iterated/cloned message with the
operation scope are preserved in the in sequence even if you have configured your API resources to be sent through the fault sequence when faults exist. A given property with the
operation scope only exists in a single request and can be accessed by a single resource. The properties in this scope are passed to the error handler when the
FORCE_ERROR_ON_SOAP_FAULT property is set to
true. See FORCE_ERROR_ON_SOAP_FAULT section in Generic Properties for more information.
get-property('operation', String propertyName)
The url-encode function returns the URL-encoded value of the specified string.
- url-encode(string value)
- url-encode(string value, string charset)
Next, see Synapse XPath Variables.