org.springframework.ws.test.support.creator
Class SoapEnvelopeMessageCreator
java.lang.Object
org.springframework.ws.test.support.creator.AbstractMessageCreator
org.springframework.ws.test.support.creator.SoapEnvelopeMessageCreator
- All Implemented Interfaces:
- WebServiceMessageCreator
public class SoapEnvelopeMessageCreator
- extends AbstractMessageCreator
Implementation of WebServiceMessageCreator
that creates a request based on a SOAP envelope Source
.
- Since:
- 2.1.1
- Author:
- Alexander Shutyaev
Constructor Summary |
SoapEnvelopeMessageCreator(Source soapEnvelope)
Creates a new instance of the SoapEnvelopeMessageCreator with the given SOAP envelope source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoapEnvelopeMessageCreator
public SoapEnvelopeMessageCreator(Source soapEnvelope)
- Creates a new instance of the
SoapEnvelopeMessageCreator
with the given SOAP envelope source.
- Parameters:
soapEnvelope
- the SOAP envelope source
doWithMessage
protected void doWithMessage(WebServiceMessage message)
throws IOException
- Description copied from class:
AbstractMessageCreator
- Abstract template method, invoked by
AbstractMessageCreator.createMessage(WebServiceMessageFactory)
after a message has been
created.
- Specified by:
doWithMessage
in class AbstractMessageCreator
- Parameters:
message
- the message
- Throws:
IOException
- in case of I/O errors
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.