org.springframework.integration.ws
Class MarshallingWebServiceOutboundGateway

java.lang.Object
  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.BeanFactoryAware, org.springframework.core.Ordered, MessageHandler

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
See Also:
Marshaller, Unmarshaller

Field Summary
 
Fields inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandler
DEFAULT_SEND_TIMEOUT
 
Fields inherited from class org.springframework.integration.handler.AbstractMessageHandler
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)
           
 
Method Summary
protected  java.lang.Object doHandle(java.lang.Object requestPayload, org.springframework.ws.client.core.WebServiceMessageCallback requestCallback)
           
 
Methods inherited from class org.springframework.integration.ws.AbstractWebServiceOutboundGateway
getWebServiceTemplate, handleRequestMessage, setFaultMessageResolver, setIgnoreEmptyResponses, setMessageFactory, setMessageSender, setMessageSenders, setReplyChannel, setRequestCallback
 
Methods inherited from class org.springframework.integration.handler.AbstractReplyProducingMessageHandler
getOutputChannel, handleMessageInternal, sendReplyMessage, setBeanFactory, setChannelResolver, setOutputChannel, setRequiresReply, setSendTimeout
 
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler
getOrder, handleMessage, setOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
Method Detail

doHandle

protected java.lang.Object doHandle(java.lang.Object requestPayload,
                                    org.springframework.ws.client.core.WebServiceMessageCallback requestCallback)
Specified by:
doHandle in class AbstractWebServiceOutboundGateway