org.apache.sandesha
Class EnvelopeCreator
java.lang.Object
org.apache.sandesha.EnvelopeCreator
- public class EnvelopeCreator
- extends java.lang.Object
This class creates the SOAPEnvelopes using the RMMessageContexts passed-in to various
methods. All the methods follow a simple process of creating SOAPEnvelopes using the
WS-Addressing and, WS-RM headers and Body Elements.
- Author:
- Jaliya Ekanayake, Chamikara Jayalath
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvelopeCreator
public EnvelopeCreator()
createCreateSequenceResponseEnvelope
public static SOAPEnvelope createCreateSequenceResponseEnvelope(java.lang.String seqId,
RMMessageContext rmMessageContext,
boolean hasOffer,
boolean offerAccepted)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCreateSequenceEnvelope
public static SOAPEnvelope createCreateSequenceEnvelope(RMMessageContext rmMsgCtx)
throws java.lang.Exception
- Throws:
java.lang.Exception
createBasicEnvelop
public static SOAPEnvelope createBasicEnvelop()
throws java.lang.Exception
- Throws:
java.lang.Exception
addNamespaceDeclarations
public static void addNamespaceDeclarations(SOAPEnvelope soapEnv)
throws java.lang.Exception
- Throws:
java.lang.Exception
createAcknowledgementEnvelope
public static SOAPEnvelope createAcknowledgementEnvelope(RMMessageContext rmMessageContext,
java.lang.String toAddress,
java.util.List ackRangeList)
throws java.lang.Exception
- Throws:
java.lang.Exception
createServiceResponseEnvelope
public static SOAPEnvelope createServiceResponseEnvelope(RMMessageContext rmMessageContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
createServiceRequestEnvelope
public static SOAPEnvelope createServiceRequestEnvelope(RMMessageContext rmMessageContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
createTerminatSeqMessage
public static SOAPEnvelope createTerminatSeqMessage(RMMessageContext rmMessageContext)
throws java.lang.Exception
- Throws:
java.lang.Exception