SOAPAction Resolver

Contents

Overview

The SOAPAction filter enables you to identify an incoming XML message based on the SOAPAction HTTP header in the message. The SOAPAction 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: Enterprise 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 SOAPAction for this message is as follows:

SOAPAction
HelloService

Configuration

To configure the SOAPAction 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 SOAPAction HTTP header in the SOAPAction field. For example, enter ^getQuote$ to exactly match a SOAPAction header with a value of getQuote. Incoming messages with a matching SOAPAction value are passed on to the next filter on the success path in the policy.