Examples of addSOAPEnvelope()


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()

          SandeshaUtil.startWorkersForSequence(context, rMSBean);
         
        } else {
          // removing the accept part.
          createSeqResPart.setAccept(null);
          createSeqResponse.addSOAPEnvelope();
        }
      }
             
      //TODO add createSequenceResponse message as the referenceMessage to the RMDBean.
 
View Full Code Here

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

    if (rmsBean.getTransportTo() != null) {
      terminateRMMessage.setProperty(Constants.Configuration.TRANSPORT_URL, rmsBean.getTransportTo());
    }

    terminateRMMessage.addSOAPEnvelope();

    String key = SandeshaUtil.getUUID();

    SenderBean terminateBean = new SenderBean();
    terminateBean.setInternalSequenceID(internalSequenceID);
View Full Code Here

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

          internalSequenceBean.setValue(outgoingSideInternalSequenceID);
          seqPropMgr.insert(internalSequenceBean);
        } else {
          //removing the accept part.
          createSeqResPart.setAccept(null);
          createSeqResponse.addSOAPEnvelope();
        }
      }

      EndpointReference acksTo = createSeqPart.getAcksTo().getAddress().getEpr();
      if (acksTo == null || acksTo.getAddress() == null
View Full Code Here

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

    if (transportToBean!=null) {
      terminateRMMessage.setProperty(MessageContextConstants.TRANSPORT_URL,transportToBean.getValue());
    }
   
    try {
      terminateRMMessage.addSOAPEnvelope();
    } catch (AxisFault e) {
      throw new SandeshaException(e.getMessage());
    }

    String key = SandeshaUtil.getUUID();
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

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());
    }
   
View Full Code Here

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

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

    initializeCreation(terminateSeqRMMsg.getMessageContext(),outMessage);
   
    terminateSeqResponseRMMsg.addSOAPEnvelope();
   
   
    finalizeCreation(terminateSeqRMMsg.getMessageContext(), outMessage);
   
    terminateSeqResponseRMMsg.getMessageContext().setServerSide(true);
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.