Best Practice? PayloadRootQNameEndpointMapping & SoapActionEndpointMapping
As it states in the 'airline' sample's applicationContext-ws.xml:
The MessageDispatcher is responsible for routing messages to endpoints. It uses three endpoint mappings to determine the endpoint suitable for handling a particular incoming request. Having three mappings is not a recommended approach, it's done here only for illustration purposes.
Can you offer us any best practices or rules of thumb for when each of these mappings should be used?
- SoapActionEndpointMapping with XwsSecurityInterceptor
With just the airline sample as a guideline, was the use of the SoapActionEndpointMapping for the update transaction an intentional choice? And is the PayloadRootQNameEndpointMapping a lighter-weight solution that should be used for queries? Or am I reading too much into this sample?