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
-
Constructor Summary
ConstructorsConstructorDescriptionSoapEnvelopeMessageCreator(Source soapEnvelope) Creates a new instance of theSoapEnvelopeMessageCreatorwith the given SOAP envelope source. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoWithMessage(org.springframework.ws.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 theSoapEnvelopeMessageCreatorwith the given SOAP envelope source.- Parameters:
soapEnvelope- the SOAP envelope source
-
-
Method Details
-
doWithMessage
Description copied from class:AbstractMessageCreatorAbstract template method, invoked byAbstractMessageCreator.createMessage(WebServiceMessageFactory)after a message has been created.- Specified by:
doWithMessagein classAbstractMessageCreator- Parameters:
message- the message- Throws:
IOException- in case of I/O errors
-