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=getFlightsEndpoint
The 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.
|
static void |
setTransformerFactory(TransformerFactory transformerFactory)
Override the default
TransformerFactory. |
getLookupKeyForMessage, validateLookupKeygetEndpointInternal, initApplicationContext, lookupEndpoint, registerEndpoint, setEndpointMap, setLazyInitEndpoints, setMappings, setRegisterBeanNamescreateEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrderpublic static void setTransformerFactory(TransformerFactory transformerFactory)
TransformerFactory.transformerFactory - protected QName resolveQName(MessageContext messageContext) throws TransformerException
AbstractQNameEndpointMappingresolveQName in class AbstractQNameEndpointMappingTransformerExceptionCopyright © 2023 VMware, Inc.. All rights reserved.