Class WsAddressingMessageConverter
java.lang.Object
org.citrusframework.ws.message.converter.SoapMessageConverter
org.citrusframework.ws.message.converter.WsAddressingMessageConverter
- All Implemented Interfaces:
MessageConverter<org.springframework.ws.WebServiceMessage,,org.springframework.ws.WebServiceMessage, WebServiceEndpointConfiguration> WebServiceMessageConverter
Ws addressing aware message converter implementation. Adds addressing header information to SOAP header.
- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionWsAddressingMessageConverter(WsAddressingHeaders addressingHeaders) Default constructor using addressing headers. -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertOutbound(org.springframework.ws.WebServiceMessage webServiceMessage, Message message, WebServiceEndpointConfiguration endpointConfiguration, TestContext context) Gets the addressing headers.org.springframework.ws.soap.addressing.messageid.MessageIdStrategyGet the message id generation strategy.voidsetMessageIdStrategy(org.springframework.ws.soap.addressing.messageid.MessageIdStrategy messageIdStrategy) Sets the message id generation strategy.Methods inherited from class org.citrusframework.ws.message.converter.SoapMessageConverter
convertInbound, convertInbound, convertOutbound, getCharset, handleInboundAttachments, handleInboundHttpHeaders, handleInboundMessageProperties, handleInboundMimeHeaders, handleInboundSoapHeaders, handleInboundSoapMessage, setCharset
-
Constructor Details
-
WsAddressingMessageConverter
Default constructor using addressing headers.- Parameters:
addressingHeaders-
-
-
Method Details
-
convertOutbound
public void convertOutbound(org.springframework.ws.WebServiceMessage webServiceMessage, Message message, WebServiceEndpointConfiguration endpointConfiguration, TestContext context) - Specified by:
convertOutboundin interfaceMessageConverter<org.springframework.ws.WebServiceMessage,org.springframework.ws.WebServiceMessage, WebServiceEndpointConfiguration> - Overrides:
convertOutboundin classSoapMessageConverter
-
getMessageIdStrategy
public org.springframework.ws.soap.addressing.messageid.MessageIdStrategy getMessageIdStrategy()Get the message id generation strategy.- Returns:
-
setMessageIdStrategy
public void setMessageIdStrategy(org.springframework.ws.soap.addressing.messageid.MessageIdStrategy messageIdStrategy) Sets the message id generation strategy.- Parameters:
messageIdStrategy-
-
getAddressingHeaders
Gets the addressing headers.- Returns:
-