Contents
The SOAP Action Resolver filter enables you to identify an
incoming XML message based on the SOAPAction
HTTP header in the
message. The SOAP Action Resolver filter applies to SOAP 1.1
and SOAP 1.2.
The following example illustrates how to locate the SOAPAction
header in 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 SOAP Action for this message is HelloService
.
To configure the SOAP Action Resolver filter, complete the following:
-
Enter an appropriate name for the filter in the Name field.
-
Enter a regular expression to match the value of the
SOAPAction
HTTP header in the SOAP Action field. For example, enter^getQuote$
to exactly match aSOAPAction
header with a value ofgetQuote
. Incoming messages with a matchingSOAPAction
value are passed on to the next filter on the success path in the policy.