Examples of toOMElement()


Examples of org.apache.sandesha2.wsrm.SequenceAcknowledgement.toOMElement()

        data.setSubcode(Sandesha2Constants.SOAPFaults.Subcodes.INVALID_ACKNOWLEDGEMENT);
        data.setReason(reason);

        SOAPFactory factory = SOAPAbstractFactory.getSOAPFactory(SOAPVersion);
        OMElement dummyElement = factory.createOMElement("dummyElem", null);
        sequenceAcknowledgement.toOMElement(dummyElement);

        OMElement sequenceAckElement = dummyElement.getFirstChildWithName(new QName(
            Sandesha2Constants.WSRM_COMMON.SEQUENCE_ACK));
        data.setDetail(sequenceAckElement);
View Full Code Here

Examples of org.apache.sandesha2.wsrm.SequenceFault.toOMElement()

      faultCode.setDetailOMElement(faultData.getDetail());
      faultCode.setExtendedDetailOMElement(faultData.getDetail2());
    }
    sequenceFault.setFaultCode(faultCode);
   
    sequenceFault.toOMElement(faultMessageContext.getEnvelope().getHeader());
  }

  /**
   * Building the envelope with SOAP 1.1
   *
 
View Full Code Here

Examples of org.apache.sandesha2.wsrm.SequenceFault.toOMElement()

      faultCode.setDetailOMElement(faultData.getDetail());
      faultCode.setExtendedDetailOMElement(faultData.getDetail2());
    }
    sequenceFault.setFaultCode(faultCode);
   
    sequenceFault.toOMElement(faultMessageContext.getEnvelope().getHeader());
  }

  /**
   * Building the envelope with SOAP 1.1
   *
 
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.