Examples of addSOAPEnvelope()


Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

    closeSeqResponseRMMsg.setFlow(MessageContext.OUT_FLOW);
    closeSeqResponseRMMsg.setProperty(Sandesha2Constants.APPLICATION_PROCESSING_DONE, "true");

    closeSequenceResponseMsg.setResponseWritten(true);

    closeSeqResponseRMMsg.addSOAPEnvelope();
   
    //
    // Now that we have generated the message we can commit the transaction
    //
    if(transaction != null && transaction.isActive()) {
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

    }

    createSeqRMMsg.setAction(SpecSpecificConstants.getCreateSequenceAction(rmsBean.getRMVersion()));
    createSeqRMMsg.setSOAPAction(SpecSpecificConstants.getCreateSequenceSOAPAction(rmsBean.getRMVersion()));

    createSeqRMMsg.addSOAPEnvelope();
   
    return createSeqRMMsg;
  }

  /**
 
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

    responseRMMsg.setMessagePart(messagePartId, part);

    outMessage.setWSAAction(action);
    outMessage.setSoapAction(action);

    responseRMMsg.addSOAPEnvelope();
    responseRMMsg.getMessageContext().setServerSide(true);

    // Ensure the correct token is used to secure the message
    secureOutboundMessage(rmSequenceBean, outMessage);
   
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

    makeConnectionMessageCtx.setMessageID(SandeshaUtil.getUUID());
    makeConnectionRMMessageCtx.setMessagePart(Sandesha2Constants.MessageParts.MAKE_CONNECTION,
        makeConnection);
   
    //generating the SOAP Envelope.
    makeConnectionRMMessageCtx.addSOAPEnvelope();
   
    // Secure the message using the correct token for the sequence that we are polling
    secureOutboundMessage(bean, makeConnectionMessageCtx);   
   
    return makeConnectionRMMessageCtx;
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

    }

    createSeqRMMsg.setMessagePart(Sandesha2Constants.MessageParts.CREATE_SEQ, createSequencePart);

    try {
      createSeqRMMsg.addSOAPEnvelope();
    } catch (AxisFault e1) {
      throw new SandeshaException(e1.getMessage());
    }

    createSeqRMMsg.setAction(SpecSpecificConstants.getCreateSequenceAction(SandeshaUtil.getRMVersion(
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

    outMessage.setSoapAction(SpecSpecificConstants.getTerminateSequenceResponseAction(SandeshaUtil.getRMVersion(
        sequenceID, storageManager)));

    initializeCreation(terminateSeqRMMsg.getMessageContext(), outMessage);

    terminateSeqResponseRMMsg.addSOAPEnvelope();

    finalizeCreation(terminateSeqRMMsg.getMessageContext(), outMessage);

//    terminateSeqResponseRMMsg.getMessageContext().setServerSide(true);
    return terminateSeqResponseRMMsg;
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

    outMessage.setSoapAction(SpecSpecificConstants.getCloseSequenceResponseAction(SandeshaUtil.getRMVersion(
        sequenceID, storageManager)));

    initializeCreation(closeSeqRMMsg.getMessageContext(), outMessage);

    closeSeqResponseRMMsg.addSOAPEnvelope();

    finalizeCreation(closeSeqRMMsg.getMessageContext(), outMessage);
    closeSeqResponseRMMsg.getMessageContext().setServerSide(true);
    return closeSeqResponseRMMsg;
  }
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

   
    makeConnectionRMMessageCtx.setMessagePart(Sandesha2Constants.MessageParts.MAKE_CONNECTION,
        makeConnection);
   
    //generating the SOAP Envelope.
    makeConnectionRMMessageCtx.addSOAPEnvelope();
   
    return makeConnectionRMMessageCtx;
  }

}
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

      identifier.setIndentifer(newOutSequenceId);

      sequencePart.setIdentifier(identifier);

      try {
        applicaionRMMsg.addSOAPEnvelope();
      } catch (AxisFault e) {
        throw new SandeshaException(e.getMessage(), e);
      }

      // asking to send the application msssage
View Full Code Here

Examples of org.apache.sandesha2.RMMsgContext.addSOAPEnvelope()

    closeSeqResponseRMMsg.setFlow(MessageContext.OUT_FLOW);
    closeSeqResponseRMMsg.setProperty(Sandesha2Constants.APPLICATION_PROCESSING_DONE, "true");

    closeSequenceResponseMsg.setResponseWritten(true);

    closeSeqResponseRMMsg.addSOAPEnvelope();

    AxisEngine engine = new AxisEngine(closeSequenceMsg.getConfigurationContext());

    try {
      engine.send(closeSequenceResponseMsg);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.