Relative Path Resolver

Overview

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:

POST /services/helloService HTTP/1.1
Host: localhost:8095
Content-Length: 196
SOAPAction: HelloService
Accept-Language: en-US
UserAgent: API Gateway
Content-Type: text/XML; utf-8

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
  </soap:Header>
  <soap:Body>
    <getHello xmlns="http://www.oracle.com/"/>
  </soap:Body>
</soap:Envelope>

The relative path for this message is as follows:

/services/helloService

Configuration

To configure the Relative Path filter, complete the following:

  1. Enter an appropriate name for the filter 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. 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.