API Gateway 7.5.3 Policy Developer Filter Reference Save PDF Selected topic Selected topic and subtopics All content API Management Versions 7.5.X And 7.6.X Reached End Of Support In November 2020. Please Contact Axway Support To Discuss Which Options Are Available To You. 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.axway"/>.com/"/> </soap:Body> </soap:Envelope> The relative path for this message is as follows: /services/helloService 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 Configuration To configure the Relative Path filter: Enter an appropriate name for the filter to display in a policy in the Name field. 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. Further information For more details, see the following filters: SOAP action resolver Operation name resolver Related Links
API Management Versions 7.5.X And 7.6.X Reached End Of Support In November 2020. Please Contact Axway Support To Discuss Which Options Are Available To You. 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.axway"/>.com/"/> </soap:Body> </soap:Envelope> The relative path for this message is as follows: /services/helloService 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 Configuration To configure the Relative Path filter: Enter an appropriate name for the filter to display in a policy in the Name field. 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. Further information For more details, see the following filters: SOAP action resolver Operation name resolver