Package org.apache.axis2.soap.impl.dom.soap12

Examples of org.apache.axis2.soap.impl.dom.soap12.SOAP12Factory


      soapNamespaceURI = getSOAPNamespaceURI(storageManager, internalSequenceID);
   
    SOAPFactory factory = null;
    SOAPEnvelope dummyEnvelope = null;
    if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapNamespaceURI)) {
      factory = new SOAP12Factory();
      dummyEnvelope = factory.getDefaultEnvelope();
    } else {
      factory = new SOAP11Factory();
      dummyEnvelope = factory.getDefaultEnvelope();
    }
View Full Code Here


    String soapNamespaceURI = options.getSoapVersionURI();
    if (soapNamespaceURI == null)
      soapNamespaceURI = getSOAPNamespaceURI(storageManager, internalSequenceID);

    if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapNamespaceURI)) {
      factory = new SOAP12Factory();
      dummyEnvelope = factory.getDefaultEnvelope();
    } else {
      factory = new SOAP11Factory();
      dummyEnvelope = factory.getDefaultEnvelope();
    }
View Full Code Here

    SOAPFactory factory = null;
    String soapNamespaceURI = options.getSoapVersionURI();
    if (soapNamespaceURI == null)
      soapNamespaceURI = getSOAPNamespaceURI(storageManager, internalSequenceID);
    if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapNamespaceURI)) {
      factory = new SOAP12Factory();
      dummyEnvelope = factory.getDefaultEnvelope();
    } else {
      factory = new SOAP11Factory();
      dummyEnvelope = factory.getDefaultEnvelope();
    }
View Full Code Here

    SOAPEnvelope dummyEnvelope = null;
    if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapNamespaceURI)) {
      factory = new SOAP11Factory ();
      dummyEnvelope = factory.getDefaultEnvelope();
    }else  {
      factory = new SOAP12Factory ();
      dummyEnvelope = factory.getDefaultEnvelope();
    }
   
    String rmNamespaceValue = SpecSpecificConstants.getRMNamespaceValue(rmSpecVersion);
   
View Full Code Here

   
    SOAPEnvelope dummyEnvelope = null;
    SOAPFactory factory = null;
    String soapNamespaceURI = options.getSoapVersionURI();
    if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapNamespaceURI)) {
      factory = new SOAP12Factory ();
      dummyEnvelope = factory.getDefaultEnvelope();
    }else  {
      factory = new SOAP11Factory ();
      dummyEnvelope = factory.getDefaultEnvelope();
    }
View Full Code Here

    options.setAction(SpecSpecificConstants.getTerminateSequenceAction(rmSpecVersion));   
    SOAPEnvelope dummyEnvelope = null;
    SOAPFactory factory = null;
    String soapNamespaceURI = options.getSoapVersionURI();
    if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapNamespaceURI)) {
      factory = new SOAP12Factory ();
      dummyEnvelope = factory.getDefaultEnvelope();
    }else  {
      factory = new SOAP11Factory ();
      dummyEnvelope = factory.getDefaultEnvelope();
    }
View Full Code Here

        return messageContext;
    }

    public static MessageContext getMCWithSOAP12Envelope() throws AxisFault {
        MessageContext messageContext = new MessageContext();
        SOAPFactory factory = new SOAP12Factory();
        SOAPEnvelope envelope = factory.createSOAPEnvelope();
        messageContext.setEnvelope(envelope);
        return messageContext;
    }
View Full Code Here

                ele.getXMLStreamReader()).getSOAPEnvelope();
    }

    public static SOAPEnvelope payloadToSOAP12Envelope(String payload) throws XMLStreamException {
        OMElement ele = AXIOMUtil.stringToOM(payload);
        SOAPFactory factory = new SOAP12Factory();
        return OMXMLBuilderFactory.createStAXSOAPModelBuilder(factory,
                ele.getXMLStreamReader()).getSOAPEnvelope();
    }
View Full Code Here

        return messageContext;
    }

    public static MessageContext getMCWithSOAP12Envelope() throws AxisFault {
        MessageContext messageContext = new MessageContext();
        SOAPFactory factory = new SOAP12Factory();
        SOAPEnvelope envelope = factory.createSOAPEnvelope();
        messageContext.setEnvelope(envelope);
        return messageContext;
    }
View Full Code Here

                ele.getXMLStreamReader()).getSOAPEnvelope();
    }

    public static SOAPEnvelope payloadToSOAP12Envelope(String payload) throws XMLStreamException {
        OMElement ele = AXIOMUtil.stringToOM(payload);
        SOAPFactory factory = new SOAP12Factory();
        return OMXMLBuilderFactory.createStAXSOAPModelBuilder(factory,
                ele.getXMLStreamReader()).getSOAPEnvelope();
    }
View Full Code Here

TOP

Related Classes of org.apache.axis2.soap.impl.dom.soap12.SOAP12Factory

Copyright © 2018 www.massapicom. 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.