Package org.citrusframework.ws.client
Class WebServiceEndpointConfiguration
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointConfiguration
org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
org.citrusframework.ws.client.WebServiceEndpointConfiguration
- All Implemented Interfaces:
EndpointConfiguration,PollableEndpointConfiguration
- Since:
- 1.4
- Author:
- Christoph Deppisch
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor initializes with default logging interceptor. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.ws.client.core.WebServiceTemplateCreates default web service template with settings in this configuration.Gets the correlator.Gets the default uri from web service template.Gets the endpointResolver.Gets the errorHandlingStrategy.List<org.springframework.ws.client.support.interceptor.ClientInterceptor>Gets the client interceptors.Gets the message converter.org.springframework.ws.WebServiceMessageFactoryGets the message factory.org.springframework.ws.transport.WebServiceMessageSenderGets the message sender.org.springframework.ws.client.core.WebServiceTemplateGets the web service template.booleanGets the handleAttributeHeaders.booleanGets the handle mime headers flag.booleanGets the keep soap envelope flag.voidsetCorrelator(MessageCorrelator correlator) Set reply message correlator.voidsetDefaultUri(String defaultUri) Gets the default uri.voidsetEndpointResolver(EndpointUriResolver endpointResolver) Sets the endpoint uri resolver.voidsetErrorHandlingStrategy(ErrorHandlingStrategy errorHandlingStrategy) Sets the errorHandlingStrategy.voidsetHandleAttributeHeaders(boolean handleAttributeHeaders) Sets the handleAttributeHeaders.voidsetHandleMimeHeaders(boolean handleMimeHeaders) Sets the handle mime headers flag.voidsetInterceptor(org.springframework.ws.client.support.interceptor.ClientInterceptor interceptor) Sets the single client interceptor.voidsetInterceptors(List<org.springframework.ws.client.support.interceptor.ClientInterceptor> interceptors) Sets the client interceptors.voidsetKeepSoapEnvelope(boolean keepSoapEnvelope) Sets the keep soap header flag.voidsetMessageConverter(WebServiceMessageConverter messageConverter) Sets the message converter.voidsetMessageFactory(org.springframework.ws.WebServiceMessageFactory messageFactory) Sets the message factory.voidsetMessageSender(org.springframework.ws.transport.WebServiceMessageSender messageSender) Sets the message sender.voidsetWebServiceTemplate(org.springframework.ws.client.core.WebServiceTemplate webServiceTemplate) Sets the web service template.Methods inherited from class org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
getPollingInterval, setPollingIntervalMethods inherited from class org.citrusframework.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointConfiguration
getTimeout, setTimeout
-
Constructor Details
-
WebServiceEndpointConfiguration
public WebServiceEndpointConfiguration()Default constructor initializes with default logging interceptor.
-
-
Method Details
-
createWebServiceTemplate
protected org.springframework.ws.client.core.WebServiceTemplate createWebServiceTemplate()Creates default web service template with settings in this configuration.- Returns:
-
setCorrelator
Set reply message correlator.- Parameters:
correlator- the correlator to set
-
setEndpointResolver
Sets the endpoint uri resolver.- Parameters:
endpointResolver- the endpointUriResolver to set
-
getErrorHandlingStrategy
Gets the errorHandlingStrategy.- Returns:
- the errorHandlingStrategy
-
setErrorHandlingStrategy
Sets the errorHandlingStrategy.- Parameters:
errorHandlingStrategy- the errorHandlingStrategy to set
-
getCorrelator
Gets the correlator.- Returns:
- the correlator the correlator to get.
-
getEndpointResolver
Gets the endpointResolver.- Returns:
- the endpointResolver the endpointResolver to get.
-
getWebServiceTemplate
public org.springframework.ws.client.core.WebServiceTemplate getWebServiceTemplate()Gets the web service template.- Returns:
-
setWebServiceTemplate
public void setWebServiceTemplate(org.springframework.ws.client.core.WebServiceTemplate webServiceTemplate) Sets the web service template.- Parameters:
webServiceTemplate-
-
getMessageFactory
public org.springframework.ws.WebServiceMessageFactory getMessageFactory()Gets the message factory.- Returns:
-
setMessageFactory
public void setMessageFactory(org.springframework.ws.WebServiceMessageFactory messageFactory) Sets the message factory.- Parameters:
messageFactory-
-
getMessageSender
public org.springframework.ws.transport.WebServiceMessageSender getMessageSender()Gets the message sender.- Returns:
-
setMessageSender
public void setMessageSender(org.springframework.ws.transport.WebServiceMessageSender messageSender) Sets the message sender.- Parameters:
messageSender-
-
getDefaultUri
Gets the default uri from web service template.- Returns:
-
setDefaultUri
Gets the default uri.- Parameters:
defaultUri-
-
getInterceptors
Gets the client interceptors.- Returns:
-
setInterceptors
public void setInterceptors(List<org.springframework.ws.client.support.interceptor.ClientInterceptor> interceptors) Sets the client interceptors.- Parameters:
interceptors-
-
setInterceptor
public void setInterceptor(org.springframework.ws.client.support.interceptor.ClientInterceptor interceptor) Sets the single client interceptor.- Parameters:
interceptor-
-
getMessageConverter
Gets the message converter.- Returns:
-
setMessageConverter
Sets the message converter.- Parameters:
messageConverter-
-
isHandleMimeHeaders
public boolean isHandleMimeHeaders()Gets the handle mime headers flag.- Returns:
-
setHandleMimeHeaders
public void setHandleMimeHeaders(boolean handleMimeHeaders) Sets the handle mime headers flag.- Parameters:
handleMimeHeaders-
-
isKeepSoapEnvelope
public boolean isKeepSoapEnvelope()Gets the keep soap envelope flag.- Returns:
-
setKeepSoapEnvelope
public void setKeepSoapEnvelope(boolean keepSoapEnvelope) Sets the keep soap header flag.- Parameters:
keepSoapEnvelope-
-
isHandleAttributeHeaders
public boolean isHandleAttributeHeaders()Gets the handleAttributeHeaders.- Returns:
-
setHandleAttributeHeaders
public void setHandleAttributeHeaders(boolean handleAttributeHeaders) Sets the handleAttributeHeaders.- Parameters:
handleAttributeHeaders-
-