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

Examples of org.apache.axis2.soap.impl.dom.soap11.SOAP11Factory


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


    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();
    }
   
    String rmNamespaceValue = SpecSpecificConstants.getRMNamespaceValue(rmSpecVersion);
   
View Full Code Here

    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();
    }
   
    String rmNamespaceValue = SpecSpecificConstants.getRMNamespaceValue(rmSpecVersion);
    TerminateSequence terminateSequence = new TerminateSequence (factory,rmNamespaceValue);
View Full Code Here

   */
  private byte[] getMessageAsBytes() throws Exception
  {
    String to = "http://127.0.0.1:" + serverPort + "/axis2/services/RMSampleService";

    SOAPFactory factory = new SOAP11Factory();
    SOAPEnvelope dummyEnvelope = factory.getDefaultEnvelope();
   
    // Create a "new" application message
    MessageContext messageContext = new MessageContext();
    messageContext.setConfigurationContext(serverConfigContext);
    messageContext.setAxisService(serverConfigContext.getAxisConfiguration().getService("RMSampleService"));   
View Full Code Here

   */
  private byte[] getMessageAsBytes() throws Exception {
    String to = "http://127.0.0.1:" + serverPort
            + "/axis2/services/RMSampleService";

    SOAPFactory factory = new SOAP11Factory();
    SOAPEnvelope dummyEnvelope = factory.getDefaultEnvelope();

    // Create a "new" application message
    MessageContext messageContext = new MessageContext();
    messageContext.setConfigurationContext(serverConfigContext);
    messageContext.setAxisService(serverConfigContext
View Full Code Here

   *
   * @return
   */
  private byte[] getAppMessageAsBytes(String uuid) throws Exception
  {
    SOAPFactory factory = new SOAP11Factory();
    SOAPEnvelope dummyEnvelope = factory.getDefaultEnvelope();
   
    // Create a "new" application message
    MessageContext messageContext = new MessageContext();
    messageContext.setConfigurationContext(serverConfigContext);
    messageContext.setAxisService(serverConfigContext.getAxisConfiguration().getService("RMSampleService"));   
View Full Code Here

   *
   * @return
   */
  private byte[] getAppMessageAsBytes(String uuid) throws Exception
  {
    SOAPFactory factory = new SOAP11Factory();
    SOAPEnvelope dummyEnvelope = factory.getDefaultEnvelope();
   
    // Create a "new" application message
    MessageContext messageContext = new MessageContext();
    messageContext.setConfigurationContext(serverConfigContext);
    messageContext.setAxisService(serverConfigContext.getAxisConfiguration().getService("RMSampleService"));   
View Full Code Here

   */
  private byte[] getMessageAsBytes() throws Exception {
    String to = "http://127.0.0.1:" + 9999 //serverPort
            + "/axis2/services/RMSampleService";

    SOAPFactory factory = new SOAP11Factory();
    SOAPEnvelope dummyEnvelope = factory.getDefaultEnvelope();

    // Create a "new" application message
    MessageContext messageContext = new MessageContext();
    messageContext.setConfigurationContext(serverConfigContext);
    messageContext.setAxisService(serverConfigContext
View Full Code Here

   *
   * @return
   */
  private byte[] getAppMessageAsBytes(String uuid) throws Exception
  {
    SOAPFactory factory = new SOAP11Factory();
    SOAPEnvelope dummyEnvelope = factory.getDefaultEnvelope();
   
    // Create a "new" application message
    MessageContext messageContext = new MessageContext();
    messageContext.setConfigurationContext(serverConfigContext);
    messageContext.setAxisService(serverConfigContext.getAxisConfiguration().getService("RMSampleService"));   
View Full Code Here

      xmppOutTransportInfo.setContentType("xmpp/text");
     
      msgCtx.setServerSide(true);
     
      //TODO : need to support SOAP12 as well
      SOAPFactory soapFactory = new SOAP11Factory();
      envelope = BuilderUtil.buildsoapMessage(msgCtx, parameterMap,
                    soapFactory);
      //TODO : improve error handling & messages
    } catch (AxisFault e) {
      throw new AxisFault(e.getMessage());
View Full Code Here

TOP

Related Classes of org.apache.axis2.soap.impl.dom.soap11.SOAP11Factory

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.