Class SoapEndpointInvocationChain

java.lang.Object
org.springframework.ws.server.EndpointInvocationChain
org.springframework.ws.soap.server.SoapEndpointInvocationChain

public class SoapEndpointInvocationChain extends EndpointInvocationChain
SOAP-specific subclass of the EndpointInvocationChain. Adds associated actors (SOAP 1.1) or roles (SOAP 1.2). Used by the SoapMessageDispatcher to determine the MustUnderstand headers for particular endpoint.
Since:
1.0.0
Author:
Arjen Poutsma
See Also:
  • Constructor Details

    • SoapEndpointInvocationChain

      public SoapEndpointInvocationChain(Object endpoint)
      Create new SoapEndpointInvocationChain.
      Parameters:
      endpoint - the endpoint object to invoke
    • SoapEndpointInvocationChain

      public SoapEndpointInvocationChain(Object endpoint, EndpointInterceptor[] interceptors)
      Create new SoapEndpointInvocationChain.
      Parameters:
      endpoint - the endpoint object to invoke
      interceptors - the array of interceptors to apply
    • SoapEndpointInvocationChain

      public SoapEndpointInvocationChain(Object endpoint, EndpointInterceptor[] interceptors, String[] actorsOrRoles, boolean isUltimateReceiver)
      Create new EndpointInvocationChain.
      Parameters:
      endpoint - the endpoint object to invoke
      interceptors - the array of interceptors to apply
      actorsOrRoles - the array of actorsOrRoles to set
      isUltimateReceiver - whether this chain fullfils the SOAP 1.2 Ultimate receiver role
  • Method Details

    • getActorsOrRoles

      public String[] getActorsOrRoles()
      Gets the actors (SOAP 1.1) or roles (SOAP 1.2) associated with an invocation of this chain and its contained interceptors and endpoint.
      Returns:
      a string array of URIs for SOAP actors/roles
    • isUltimateReceiver

      public boolean isUltimateReceiver()
      Indicates whether this chain fulfills the SOAP 1.2 Ultimate Receiver role. Default is true.