public abstract class AbstractWebServiceOutboundGateway extends AbstractReplyProducingMessageHandler
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractWebServiceOutboundGateway.RequestMessageCallback |
protected class |
AbstractWebServiceOutboundGateway.ResponseMessageExtractor |
AbstractReplyProducingMessageHandler.RequestHandler
Modifier and Type | Field and Description |
---|---|
protected SoapHeaderMapper |
headerMapper |
logger
Constructor and Description |
---|
AbstractWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider,
org.springframework.ws.WebServiceMessageFactory messageFactory) |
AbstractWebServiceOutboundGateway(java.lang.String uri,
org.springframework.ws.WebServiceMessageFactory messageFactory) |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Object |
doHandle(java.lang.String uri,
Message<?> requestMessage,
org.springframework.ws.client.core.WebServiceMessageCallback requestCallback) |
protected void |
doInit() |
protected org.springframework.ws.client.core.WebServiceTemplate |
getWebServiceTemplate() |
java.lang.Object |
handleRequestMessage(Message<?> requestMessage)
Subclasses must implement this method to handle the request Message.
|
void |
setFaultMessageResolver(org.springframework.ws.client.core.FaultMessageResolver faultMessageResolver) |
void |
setHeaderMapper(SoapHeaderMapper headerMapper) |
void |
setIgnoreEmptyResponses(boolean ignoreEmptyResponses)
Specify whether empty String response payloads should be ignored.
|
void |
setInterceptors(org.springframework.ws.client.support.interceptor.ClientInterceptor... interceptors) |
void |
setMessageFactory(org.springframework.ws.WebServiceMessageFactory messageFactory) |
void |
setMessageSender(org.springframework.ws.transport.WebServiceMessageSender messageSender) |
void |
setMessageSenders(org.springframework.ws.transport.WebServiceMessageSender... messageSenders) |
void |
setReplyChannel(MessageChannel replyChannel) |
void |
setRequestCallback(org.springframework.ws.client.core.WebServiceMessageCallback requestCallback) |
void |
setUriVariableExpressions(java.util.Map<java.lang.String,org.springframework.expression.Expression> uriVariableExpressions)
Set the Map of URI variable expressions to evaluate against the outbound message
when replacing the variable placeholders in a URI template.
|
doInvokeAdvisedRequestHandler, getMessagingTemplate, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setChannelResolver, setOutputChannel, setRequiresReply, setSendTimeout, shouldCopyRequestHeaders
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
protected volatile SoapHeaderMapper headerMapper
public AbstractWebServiceOutboundGateway(java.lang.String uri, org.springframework.ws.WebServiceMessageFactory messageFactory)
public AbstractWebServiceOutboundGateway(org.springframework.ws.client.support.destination.DestinationProvider destinationProvider, org.springframework.ws.WebServiceMessageFactory messageFactory)
public void setHeaderMapper(SoapHeaderMapper headerMapper)
public void setUriVariableExpressions(java.util.Map<java.lang.String,org.springframework.expression.Expression> uriVariableExpressions)
public void setReplyChannel(MessageChannel replyChannel)
public void setIgnoreEmptyResponses(boolean ignoreEmptyResponses)
true
. Set this to false
if
you want to send empty String responses in reply Messages.public void setMessageFactory(org.springframework.ws.WebServiceMessageFactory messageFactory)
public void setRequestCallback(org.springframework.ws.client.core.WebServiceMessageCallback requestCallback)
public void setFaultMessageResolver(org.springframework.ws.client.core.FaultMessageResolver faultMessageResolver)
public void setMessageSender(org.springframework.ws.transport.WebServiceMessageSender messageSender)
public void setMessageSenders(org.springframework.ws.transport.WebServiceMessageSender... messageSenders)
public void setInterceptors(org.springframework.ws.client.support.interceptor.ClientInterceptor... interceptors)
protected void doInit()
doInit
in class AbstractReplyProducingMessageHandler
protected org.springframework.ws.client.core.WebServiceTemplate getWebServiceTemplate()
public final java.lang.Object handleRequestMessage(Message<?> requestMessage)
AbstractReplyProducingMessageHandler
handleRequestMessage
in class AbstractReplyProducingMessageHandler
protected abstract java.lang.Object doHandle(java.lang.String uri, Message<?> requestMessage, org.springframework.ws.client.core.WebServiceMessageCallback requestCallback)