cgl.narada.wsinfra.wsa.impl
Class WsaEnvelopeCreatorImpl

java.lang.Object
  extended by cgl.narada.wsinfra.wsa.impl.WsaEnvelopeCreatorImpl
All Implemented Interfaces:
WsaEnvelopeCreator

public class WsaEnvelopeCreatorImpl
extends Object
implements WsaEnvelopeCreator

This is a utility which creates SOAP enevelopes initialized to the specified WSA headers.


Method Summary
 EnvelopeDocument createSoapEnvelope(EndpointReferenceType to, FromDocument from, ActionDocument action)
          Prepare SOAP envelope based on the specified WS-Addressing headers
 EnvelopeDocument createSoapEnvelope(EndpointReferenceType to, FromDocument from, ActionDocument action, RelatesToDocument relatesTo)
          Prepare SOAP envelope based on the specified WS-Addressing headers
 EnvelopeDocument createSoapEnvelope(EndpointReferenceType to, FromDocument from, ActionDocument action, ReplyToDocument replyTo, ReplyAfterDocument replyAfter, FaultToDocument faultTo)
          Prepare SOAP envelope based on the specified WS-Addressing headers
 EnvelopeDocument createSoapEnvelope(FromDocument from)
          Prepare SOAP Envelope based on the specified WS-Addressing header.
 EnvelopeDocument createSoapEnvelope(ToDocument to, FromDocument from, ActionDocument action, ReplyToDocument replyTo, ReplyAfterDocument replyAfter, FaultToDocument faultTo)
          Prepare SOAP envelope based on the specified WS-Addressing headers
static WsaEnvelopeCreator getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WsaEnvelopeCreator getInstance()

createSoapEnvelope

public EnvelopeDocument createSoapEnvelope(EndpointReferenceType to,
                                           FromDocument from,
                                           ActionDocument action)
Prepare SOAP envelope based on the specified WS-Addressing headers

Specified by:
createSoapEnvelope in interface WsaEnvelopeCreator

createSoapEnvelope

public EnvelopeDocument createSoapEnvelope(EndpointReferenceType to,
                                           FromDocument from,
                                           ActionDocument action,
                                           RelatesToDocument relatesTo)
Prepare SOAP envelope based on the specified WS-Addressing headers

Specified by:
createSoapEnvelope in interface WsaEnvelopeCreator

createSoapEnvelope

public EnvelopeDocument createSoapEnvelope(EndpointReferenceType to,
                                           FromDocument from,
                                           ActionDocument action,
                                           ReplyToDocument replyTo,
                                           ReplyAfterDocument replyAfter,
                                           FaultToDocument faultTo)
Prepare SOAP envelope based on the specified WS-Addressing headers

Specified by:
createSoapEnvelope in interface WsaEnvelopeCreator

createSoapEnvelope

public EnvelopeDocument createSoapEnvelope(ToDocument to,
                                           FromDocument from,
                                           ActionDocument action,
                                           ReplyToDocument replyTo,
                                           ReplyAfterDocument replyAfter,
                                           FaultToDocument faultTo)
Prepare SOAP envelope based on the specified WS-Addressing headers

Specified by:
createSoapEnvelope in interface WsaEnvelopeCreator

createSoapEnvelope

public EnvelopeDocument createSoapEnvelope(FromDocument from)
Prepare SOAP Envelope based on the specified WS-Addressing header. This method is specifically used by WS-Eventing sources where there application does not know where a message would be sent. This method creates the MessageID element automatically.

Specified by:
createSoapEnvelope in interface WsaEnvelopeCreator


For comments and suggestions please send e-mail to The NaradaBrokering Project