API Management versions 7.5.X and 7.6.X have reached end of support in November 2020.
Check out the latest version of the documentation.

Relative path resolver


The Relative Path filter enables you to identify an incoming XML message based on the relative path on which the message is received.

The following example shows how to find the relative path of an incoming message. Consider the following SOAP message:

The relative path for this message is as follows:

Regular expression format

This filter uses the regular expression syntax specified by java.util.regex.Pattern . For more details, see http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html


To configure the Relative Path filter:

  1. Enter an appropriate name for the filter to display in a policy in the Name field.
  2. Enter a regular expression to match the value of the relative path on which messages are received in the Relative Path field.
  3. For example, enter ^/services/helloService$ to exactly match a path with a value of /services/helloService . Incoming messages received on a matching relative path value are passed on to the next filter on the success path in the policy.

Further information

For more details, see the following filters:

Related Links