Spring Integration

org.springframework.integration.ws
Class MarshallingWebServiceOutboundGateway

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.handler.AbstractMessageHandler
          extended by org.springframework.integration.handler.AbstractReplyProducingMessageHandler
              extended by org.springframework.integration.ws.AbstractWebServiceOutboundGateway
                  extended by org.springframework.integration.ws.MarshallingWebServiceOutboundGateway
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.core.Ordered, NamedComponent, Orderable, MessageHandler, MessageProducer, TrackableComponent

public class MarshallingWebServiceOutboundGateway
extends AbstractWebServiceOutboundGateway

An outbound Messaging Gateway for invoking Web Services that also supports marshalling and unmarshalling of the request and response messages.

Author:
Mark Fisher, Oleg Zhurakousky
See Also:
Marshaller, Unmarshaller

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.integration.ws.AbstractWebServiceOutboundGateway
AbstractWebServiceOutboundGateway.RequestMessageCallback, AbstractWebServiceOutboundGateway.ResponseMessageExtractor
 
Nested classes/interfaces inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandler
AbstractReplyProducingMessageHandler.RequestHandler
 
Field Summary
 
Fields inherited from class org.springframework.integration.ws.AbstractWebServiceOutboundGateway
headerMapper
 
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
MarshallingWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider, org.springframework.oxm.Marshaller marshaller)
           
MarshallingWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider, org.springframework.oxm.Marshaller marshaller, org.springframework.oxm.Unmarshaller unmarshaller)
           
MarshallingWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider, org.springframework.oxm.Marshaller marshaller, org.springframework.oxm.Unmarshaller unmarshaller, org.springframework.ws.WebServiceMessageFactory messageFactory)
           
MarshallingWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider, org.springframework.oxm.Marshaller marshaller, org.springframework.ws.WebServiceMessageFactory messageFactory)
           
MarshallingWebServiceOutboundGateway(java.lang.String uri, org.springframework.oxm.Marshaller marshaller)
           
MarshallingWebServiceOutboundGateway(java.lang.String uri, org.springframework.oxm.Marshaller marshaller, org.springframework.oxm.Unmarshaller unmarshaller)
           
MarshallingWebServiceOutboundGateway(java.lang.String uri, org.springframework.oxm.Marshaller marshaller, org.springframework.oxm.Unmarshaller unmarshaller, org.springframework.ws.WebServiceMessageFactory messageFactory)
           
MarshallingWebServiceOutboundGateway(java.lang.String uri, org.springframework.oxm.Marshaller marshaller, org.springframework.ws.WebServiceMessageFactory messageFactory)
           
 
Method Summary
protected  java.lang.Object doHandle(java.lang.String uri, Message<?> requestMessage, org.springframework.ws.client.core.WebServiceMessageCallback requestCallback)
           
 
Methods inherited from class org.springframework.integration.ws.AbstractWebServiceOutboundGateway
getWebServiceTemplate, handleRequestMessage, onInit, setFaultMessageResolver, setHeaderMapper, setIgnoreEmptyResponses, setInterceptors, setMessageFactory, setMessageSender, setMessageSenders, setReplyChannel, setRequestCallback, setUriVariableExpressions
 
Methods inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandler
getMessagingTemplate, handleMessageInternal, setAdviceChain, setBeanClassLoader, setChannelResolver, setOutputChannel, setRequiresReply, setSendTimeout, shouldCopyRequestHeaders
 
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.context.NamedComponent
getComponentName
 

Constructor Detail

MarshallingWebServiceOutboundGateway

public MarshallingWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider,
                                            org.springframework.oxm.Marshaller marshaller,
                                            org.springframework.oxm.Unmarshaller unmarshaller,
                                            org.springframework.ws.WebServiceMessageFactory messageFactory)

MarshallingWebServiceOutboundGateway

public MarshallingWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider,
                                            org.springframework.oxm.Marshaller marshaller,
                                            org.springframework.oxm.Unmarshaller unmarshaller)

MarshallingWebServiceOutboundGateway

public MarshallingWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider,
                                            org.springframework.oxm.Marshaller marshaller,
                                            org.springframework.ws.WebServiceMessageFactory messageFactory)

MarshallingWebServiceOutboundGateway

public MarshallingWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider,
                                            org.springframework.oxm.Marshaller marshaller)

MarshallingWebServiceOutboundGateway

public MarshallingWebServiceOutboundGateway(java.lang.String uri,
                                            org.springframework.oxm.Marshaller marshaller,
                                            org.springframework.oxm.Unmarshaller unmarshaller,
                                            org.springframework.ws.WebServiceMessageFactory messageFactory)

MarshallingWebServiceOutboundGateway

public MarshallingWebServiceOutboundGateway(java.lang.String uri,
                                            org.springframework.oxm.Marshaller marshaller,
                                            org.springframework.oxm.Unmarshaller unmarshaller)

MarshallingWebServiceOutboundGateway

public MarshallingWebServiceOutboundGateway(java.lang.String uri,
                                            org.springframework.oxm.Marshaller marshaller,
                                            org.springframework.ws.WebServiceMessageFactory messageFactory)

MarshallingWebServiceOutboundGateway

public MarshallingWebServiceOutboundGateway(java.lang.String uri,
                                            org.springframework.oxm.Marshaller marshaller)
Method Detail

doHandle

protected java.lang.Object doHandle(java.lang.String uri,
                                    Message<?> requestMessage,
                                    org.springframework.ws.client.core.WebServiceMessageCallback requestCallback)
Specified by:
doHandle in class AbstractWebServiceOutboundGateway

Spring Integration