public class PayloadRootQNameEndpointMapping extends AbstractQNameEndpointMapping
EndpointMapping
interface to map from the qualified name of the request payload
root element. Supports both mapping to bean instances and mapping to bean names: the latter is required for prototype
endpoints.
The endpointMap
property is suitable for populating the endpoint map with bean references, e.g. via the
map element in XML bean definitions.
Mappings to bean names can be set via the mappings
property, in a form accepted by the
java.util.Properties
class, like as follows:
{http://www.springframework.org/spring-ws/samples/airline/schemas}BookFlight=bookFlightEndpoint {http://www.springframework.org/spring-ws/samples/airline/schemas}GetFlights=getFlightsEndpointThe syntax is QNAME=ENDPOINT_BEAN_NAME. Qualified names are parsed using the syntax described in
QNameEditor
.QNameEditor
Constructor and Description |
---|
PayloadRootQNameEndpointMapping() |
Modifier and Type | Method and Description |
---|---|
protected QName |
resolveQName(MessageContext messageContext)
Template method that resolves the qualified names from the given SOAP message.
|
getLookupKeyForMessage, validateLookupKey
getEndpointInternal, initApplicationContext, lookupEndpoint, registerEndpoint, setEndpointMap, setLazyInitEndpoints, setMappings, setRegisterBeanNames
createEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrder
protected QName resolveQName(MessageContext messageContext) throws TransformerException
AbstractQNameEndpointMapping
resolveQName
in class AbstractQNameEndpointMapping
TransformerException