Spring Web Services Framework

org.springframework.ws.test.support.creator
Class SoapEnvelopeMessageCreator

java.lang.Object
  extended by org.springframework.ws.test.support.creator.AbstractMessageCreator
      extended by 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.
 
Method Summary
protected  void doWithMessage(WebServiceMessage message)
          Abstract template method, invoked by AbstractMessageCreator.createMessage(WebServiceMessageFactory) after a message has been created.
 
Methods inherited from class org.springframework.ws.test.support.creator.AbstractMessageCreator
createMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapEnvelopeMessageCreator

public SoapEnvelopeMessageCreator(Source soapEnvelope)
Creates a new instance of the SoapEnvelopeMessageCreator with the given SOAP envelope source.

Parameters:
soapEnvelope - the SOAP envelope source
Method Detail

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

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.