SOAP message dispatcher
Dispatches SOAP web service messages to registered endpoints.
SOAP-specific message dispatcher.
Handles the message in the following order:
1. Endpoint search An appropriate endpoint is searched for using the configured Endpoint Mapping(s). If an endpoint is found, the invocation chain associated with the endpoint (preprocessors, postprocessors, and endpoints) will be executed in order to create a response.
2. Adapter search An appropriate adapter is searched for the endpoint. The Message Dispatcher delegates to this adapter to invoke the endpoint.
3. Response If a response is returned, it is sent on its way. If no response is returned (which could be due to a pre- or post-processor intercepting the request, for example, for security reasons), no response is sent.
For more information about spring web services see:
Spring Webservices Reference 2.0
The endpoint mapping is responsible for mapping incoming messages to appropriate endpoints.
An endpoint mapping delivers the endpoint that matches the incoming request, and may also deliver a list of endpoint interceptors that will be applied to the request and response.
The following types of mapping are available: 1. Root element mapping The Payload Root QName Endpoint Mapping will use the qualified name of the root element of the request payload to determine the endpoint that handles it.
Specifies adapters that are used for delegating the dispatch of the message to an endpoint. The dispatcher will look for an appropriate adapter after finding the endpoint in the mappings.
If not specified, the following endpoint adapters are used by default:
MessageEndpointAdapter
PayloadEndpointAdapter
MessageMethodEndpointAdapter
PayloadMethodEndpointAdapter
DefaultMethodEndpointAdapter
Specifies classes that can resolve exceptions thrown during endpoint execution. The dispatcher will try these resolvers (in order) to handle the exception, for example by converting it into a SOAP Fault response.
If not specified, the following endpoint exception resolvers are used by default:
SimpleSoapExceptionResolver
SoapFaultAnnotationExceptionResolver
Id
Name that uniquely identifies this flow component.
Required