Class SoapEnvelopeMessageCreator
java.lang.Object
org.springframework.ws.test.support.creator.AbstractMessageCreator
org.springframework.ws.test.support.creator.SoapEnvelopeMessageCreator
- All Implemented Interfaces:
WebServiceMessageCreator
Implementation of
WebServiceMessageCreator
that creates a request based on a SOAP envelope Source
.- Since:
- 2.1.1
- Author:
- Alexander Shutyaev
-
Constructor Summary
ConstructorDescriptionSoapEnvelopeMessageCreator
(Source soapEnvelope) Creates a new instance of theSoapEnvelopeMessageCreator
with the given SOAP envelope source. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doWithMessage
(WebServiceMessage message) Abstract template method, invoked byAbstractMessageCreator.createMessage(WebServiceMessageFactory)
after a message has been created.Methods inherited from class org.springframework.ws.test.support.creator.AbstractMessageCreator
createMessage
-
Constructor Details
-
SoapEnvelopeMessageCreator
Creates a new instance of theSoapEnvelopeMessageCreator
with the given SOAP envelope source.- Parameters:
soapEnvelope
- the SOAP envelope source
-
-
Method Details
-
doWithMessage
Description copied from class:AbstractMessageCreator
Abstract template method, invoked byAbstractMessageCreator.createMessage(WebServiceMessageFactory)
after a message has been created.- Specified by:
doWithMessage
in classAbstractMessageCreator
- Parameters:
message
- the message- Throws:
IOException
- in case of I/O errors
-