Examples of fromSOAPEnvelope()


Examples of org.apache.sandesha.ws.rm.RMHeaders.fromSOAPEnvelope()

public class RMServerRequestHandler extends BasicHandler {

    public void invoke(MessageContext msgContext) throws AxisFault {
        try {
            RMHeaders rmHeaders = new RMHeaders();
            rmHeaders.fromSOAPEnvelope(msgContext.getRequestMessage().getSOAPEnvelope());

        } catch (SOAPException e) {
            throw AxisFault.makeFault(e);
        } catch (Exception e) {
            throw AxisFault.makeFault(e);
View Full Code Here

Examples of org.apache.sandesha.ws.rm.RMHeaders.fromSOAPEnvelope()

    private void processResponseMessage(Call call, RMMessageContext rmMessageContext)
            throws Exception {

        if (call.getResponseMessage() != null) {
            RMHeaders rmHeaders = new RMHeaders();
            rmHeaders.fromSOAPEnvelope(call.getResponseMessage().getSOAPEnvelope());
            rmMessageContext.setRMHeaders(rmHeaders);
            AddressingHeaders addrHeaders = new AddressingHeaders(call.getResponseMessage().getSOAPEnvelope());
            rmMessageContext.setAddressingHeaders(addrHeaders);
            rmMessageContext.getMsgContext().setResponseMessage(call.getResponseMessage());
            IRMMessageProcessor messagePrcessor = RMMessageProcessorIdentifier.getMessageProcessor(rmMessageContext, storageManager);
View Full Code Here

Examples of org.apache.sandesha.ws.rm.RMHeaders.fromSOAPEnvelope()

            AddressingHeaders addrHeaders = new AddressingHeaders(msgContext.getRequestMessage().getSOAPEnvelope());
            validateAddrHeaders(addrHeaders);
            rmMsgContext.setAddressingHeaders(addrHeaders);

            RMHeaders rmHeaders = new RMHeaders();
            rmHeaders.fromSOAPEnvelope(msgContext.getRequestMessage().getSOAPEnvelope());
            validateRMHeaders(rmHeaders);
            rmMsgContext.setRMHeaders(rmHeaders);

            validateForFaults(rmMsgContext);
        } catch (SOAPException e) {
View Full Code Here

Examples of org.apache.sandesha2.wsrm.RMElements.fromSOAPEnvelope()

      addressingNamespace = AddressingConstants.Final.WSA_NAMESPACE;

    RMElements elements = new RMElements(addressingNamespace);
   
    if (msgCtx.getEnvelope()!=null)
      elements.fromSOAPEnvelope(msgCtx.getEnvelope(), msgCtx.getWSAAction());

    String rmNamespace = null;

    if (elements.getCreateSequence() != null) {
      rmMsgContext.setMessagePart(Sandesha2Constants.MessageParts.CREATE_SEQ, elements.getCreateSequence());
View Full Code Here

Examples of org.apache.sandesha2.wsrm.RMElements.fromSOAPEnvelope()

    String addressingNamespace = (String) msgCtx.getProperty(AddressingConstants.WS_ADDRESSING_VERSION);
    if (addressingNamespace == null && !msgCtx.isServerSide())
      addressingNamespace = AddressingConstants.Final.WSA_NAMESPACE;

    RMElements elements = new RMElements(addressingNamespace);
    elements.fromSOAPEnvelope(msgCtx.getEnvelope(), msgCtx.getWSAAction());

    String rmNamespace = null;

    if (elements.getCreateSequence() != null) {
      rmMsgContext.setMessagePart(Sandesha2Constants.MessageParts.CREATE_SEQ, elements.getCreateSequence());
View Full Code Here

Examples of org.apache.sandesha2.wsrm.RMElements.fromSOAPEnvelope()

    String addressingNamespace = (String) msgCtx.getProperty(AddressingConstants.WS_ADDRESSING_VERSION);
    if (addressingNamespace == null && !msgCtx.isServerSide())
      addressingNamespace = AddressingConstants.Final.WSA_NAMESPACE;

    RMElements elements = new RMElements(addressingNamespace);
    elements.fromSOAPEnvelope(msgCtx.getEnvelope(), msgCtx.getWSAAction());

    String rmNamespace = null;

    if (elements.getCreateSequence() != null) {
      rmMsgContext.setMessagePart(Sandesha2Constants.MessageParts.CREATE_SEQ, elements.getCreateSequence());
View Full Code Here

Examples of org.apache.sandesha2.wsrm.RMElements.fromSOAPEnvelope()

    String addressingNamespace = (String) msgCtx.getProperty(AddressingConstants.WS_ADDRESSING_VERSION);
    if (addressingNamespace==null && !msgCtx.isServerSide())
      addressingNamespace = AddressingConstants.Final.WSA_NAMESPACE;
   
    RMElements elements = new RMElements(addressingNamespace);
    elements.fromSOAPEnvelope(msgCtx.getEnvelope(), msgCtx.getWSAAction());

    String rmNamespace = null;
   
    if (elements.getCreateSequence() != null) {
      rmMsgContext.setMessagePart(Sandesha2Constants.MessageParts.CREATE_SEQ,
View Full Code Here

Examples of org.apache.sandesha2.wsrm.RMElements.fromSOAPEnvelope()

   */
  private static void populateRMMsgContext(MessageContext msgCtx,
      RMMsgContext rmMsgContext) {

    RMElements elements = new RMElements();
    elements.fromSOAPEnvelope(msgCtx.getEnvelope());

    if (elements.getCreateSequence() != null)
      rmMsgContext.setMessagePart(Sandesha2Constants.MessageParts.CREATE_SEQ,
          elements.getCreateSequence());

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.