public class DelegatingSoapEndpointMapping extends Object implements org.springframework.beans.factory.InitializingBean, SoapEndpointMapping
EndpointMapping implement that adds SOAP actors or roles to a delegate endpoint. Delegates to another
EndpointMapping, set by delegate, and adds the actors or roles specified by actorsOrRoles.
This endpoint mapping makes it possible to set actors/roles on a specific endpoint, without making the all endpoint mappings depend on SOAP-specific functionality. For normal use, setting an actor or role on an endpoint is not required, the default 'next' role is sufficient.
It is only in a scenario when a certain endpoint act as a SOAP intermediary for another endpoint, as described in the SOAP specificication, this mapping is useful.
SoapHeader.examineMustUnderstandHeaderElements(String),
SoapVersion.getNextActorOrRoleUri()| Constructor and Description |
|---|
DelegatingSoapEndpointMapping() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
EndpointInvocationChain |
getEndpoint(MessageContext messageContext)
Creates a new
SoapEndpointInvocationChain based on the delegate endpoint, the delegate interceptors, and
set actors/roles. |
void |
setActorOrRole(String actorOrRole)
Sets a single SOAP actor/actorOrRole to apply to all endpoints mapped by the delegate endpoint mapping.
|
void |
setActorsOrRoles(String[] actorsOrRoles)
Sets the array of SOAP actors/actorsOrRoles to apply to all endpoints mapped by the delegate endpoint mapping.
|
void |
setDelegate(EndpointMapping delegate)
Sets the delegate
EndpointMapping to resolve the endpoint with. |
void |
setUltimateReceiver(boolean ultimateReceiver)
Indicates whether this the endpoint fulfills the SOAP 1.2 Ultimate Receiver role.
|
public void setDelegate(EndpointMapping delegate)
EndpointMapping to resolve the endpoint with.public final void setActorOrRole(String actorOrRole)
SoapEndpointMappingsetActorOrRole in interface SoapEndpointMappingpublic final void setActorsOrRoles(String[] actorsOrRoles)
SoapEndpointMappingsetActorsOrRoles in interface SoapEndpointMappingpublic final void setUltimateReceiver(boolean ultimateReceiver)
SoapEndpointMappingsetUltimateReceiver in interface SoapEndpointMappingpublic EndpointInvocationChain getEndpoint(MessageContext messageContext) throws Exception
SoapEndpointInvocationChain based on the delegate endpoint, the delegate interceptors, and
set actors/roles.getEndpoint in interface EndpointMappingnull if no
mapping is foundException - if there is an internal errorsetActorsOrRoles(String[])Copyright © 2023 VMware, Inc.. All rights reserved.