axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r370399 [12/12] - in /webservices/axis2/trunk/java/modules/integration: itest-resources/interop/whitemesa/round2/ itest-resources/interop/whitemesa/round2/SOAP12/ itest-resources/interop/whitemesa/round3/ itest/test/interop/whitemesa/round1...
Date Thu, 19 Jan 2006 06:44:44 GMT
Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBase64Util.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,23 +30,20 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -70,8 +66,7 @@
         block2.addChild(h2Val3);
 
         OMElement operation = omfactory.createOMElement("echoBase64", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
 
         OMElement part = omfactory.createOMElement("inputBase64", "", null);
@@ -79,7 +74,6 @@
         part.addChild(omfactory.createText("SGVsbG8gV29ybGQ="));
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBooleanUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBooleanUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBooleanUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcBooleanUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -30,22 +29,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -68,8 +64,7 @@
         block2.addChild(h2Val3);
 
         OMElement operation = omfactory.createOMElement("echoBoolean", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
 
         OMElement part = omfactory.createOMElement("inputBoolean", "", null);
@@ -77,7 +72,6 @@
         part.addChild(omfactory.createText("1"));
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);    inputBoolean" type="xsd:boolean"/>
         return reqEnv;
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcEchoStringUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcEchoStringUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcEchoStringUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcEchoStringUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,22 +30,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -70,9 +66,7 @@
 
         OMElement operation = omfactory.createOMElement("echoString", "http://soapinterop.org/", null);
 
-        //operation.setNamespace(ns);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
 
         OMElement part = omfactory.createOMElement("inputString", null);
@@ -80,7 +74,6 @@
         part.addChild(omfactory.createText("Apache Software Foundation"));
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcFloatArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcFloatArrayUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcFloatArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcFloatArrayUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,22 +30,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -69,8 +65,7 @@
         block2.addChild(h2Val3);
 
         OMElement operation = omfactory.createOMElement("echoFloatArray", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
 
         OMElement part = omfactory.createOMElement("inputFloatArray", "", null);

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcHexBinaryUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcHexBinaryUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcHexBinaryUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcHexBinaryUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,22 +30,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -69,14 +65,13 @@
         block2.addChild(h2Val3);
 
         OMElement operation = omfactory.createOMElement("echoHexBinary", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
         OMElement part = omfactory.createOMElement("inputHexBinary", "", null);
         part.addAttribute("xsi:type", "xsd:hexBinary", null);
         part.addChild(omfactory.createText("41394644363445313243"));
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
+
         return reqEnv;
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntegerArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntegerArrayUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntegerArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntegerArrayUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,22 +30,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -69,8 +65,7 @@
         block2.addChild(h2Val3);
 
         OMElement operation = omfactory.createOMElement("echoIntegerArray", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
         OMElement part = omfactory.createOMElement("inputIntegerArray", "", null);
         part.addAttribute("xsi:type", "SOAP-ENC:Array", null);

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntergerUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntergerUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntergerUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcIntergerUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,23 +30,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
-
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -71,9 +66,7 @@
 
         OMElement operation = omfactory.createOMElement("echoInteger", "http://soapinterop.org/", null);
 
-        //operation.setNamespace(ns);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
 
         OMElement part = omfactory.createOMElement("inputInteger", null);
@@ -81,7 +74,6 @@
         part.addChild(omfactory.createText("456"));
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStringArrayUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStringArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStringArrayUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,22 +30,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -69,8 +65,7 @@
         block2.addChild(h2Val3);
 
         OMElement operation = omfactory.createOMElement("echoStringArray", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
 
         OMElement part = omfactory.createOMElement("inputStringArray", "", null);
@@ -92,7 +87,6 @@
         part.addChild(value2);
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructArrayUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructArrayUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,22 +30,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -69,8 +65,7 @@
         block2.addChild(h2Val3);
 
         OMElement operation = omfactory.createOMElement("echoStructArray", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
 
         OMElement part = omfactory.createOMElement("inputStructArray", "", null);
@@ -131,7 +126,6 @@
 
         operation.addChild(part);
 
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcStructUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,22 +30,19 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/", "soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
         SOAPHeaderBlock block1 = header.addHeaderBlock("echoMeStringRequest", hns);
         block1.addAttribute("xsi:type", "xsd:string", null);
         block1.addChild(omfactory.createText("string"));
-        // header.addChild(headerChild);
         header.addChild(block1);
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
@@ -69,8 +65,7 @@
         block2.addChild(h2Val3);
 
         OMElement operation = omfactory.createOMElement("echoStruct", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
         OMElement part = omfactory.createOMElement("inputStruct", "", null);
         part.addAttribute("xsi:type", "s:SOAPStruct", null);
@@ -91,7 +86,6 @@
 
         operation.addChild(part);
 
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcVoidUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcVoidUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcVoidUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/soap12/WMRound2Soap12GroupcVoidUtil.java Wed Jan 18 22:38:26 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 import org.apache.axis2.soap.SOAPHeader;
@@ -31,18 +30,16 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP12Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
-        //reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC"); //xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
         reqEnv.declareNamespace("http://soapinterop.org/", "m");
         reqEnv.declareNamespace("http://soapinterop.org", "m1");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap12/","soap12");
 
         SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns"); //xmlns:m0="http://soapinterop.org/echoheader/
+        OMNamespace hns = reqEnv.declareNamespace("http://soapinterop.org/echoheader/", "hns");
 
         SOAPHeaderBlock block2 = header.addHeaderBlock("echoMeStructRequest", hns);
         block2.addAttribute("xsi:type", "s:SOAPStruct", null);
@@ -68,8 +65,7 @@
         block1.addChild(omfactory.createText("string"));
 
         OMElement operation = omfactory.createOMElement("echoVoid", "http://soapinterop.org/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://www.w3.org/2003/05/soap-encoding", null);
 
         return reqEnv;

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/SunRound3Client.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/SunRound3Client.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/SunRound3Client.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/SunRound3Client.java Wed Jan 18 22:38:26 2006
@@ -22,10 +22,10 @@
 import org.apache.axis2.client.OperationClient;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.client.ServiceClient;
-import org.apache.axis2.context.ConfigurationContext;
-import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.AxisConfiguration;
+import org.apache.axis2.context.MessageContextConstants;
+import org.apache.axis2.context.ConfigurationContextFactory;
+import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.wsdl.WSDLConstants;
 import test.interop.whitemesa.round3.util.SunRound3ClientUtil;
@@ -35,39 +35,39 @@
 public class SunRound3Client {
 
     public SOAPEnvelope sendMsg(SunRound3ClientUtil util, String epUrl, String soapAction) throws AxisFault {
-        SOAPEnvelope retEnvelope;
+
+        SOAPEnvelope resEnv;
         URL url;
         try {
-            //todo set the path to repository in Call()
             url = new URL(epUrl);
 
             Options options = new Options();
+            options.setProperty(MessageContextConstants.CHUNKED, Constants.VALUE_FALSE);
             options.setTo(new EndpointReference(url.toString()));
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
             options.setSoapAction(soapAction);
 
-            AxisConfiguration axisConfig = new AxisConfiguration();
-            ConfigurationContext configCtx = new ConfigurationContext(axisConfig);
-            MessageContext msgCtx = new MessageContext();
-            msgCtx.setConfigurationContext(configCtx);
-
+            MessageContext messageContext = new MessageContext();
             SOAPEnvelope requestEnvilope = util.getEchoSoapEnvelope();
-            msgCtx.setEnvelope(requestEnvilope);
+            messageContext.setEnvelope(requestEnvilope);
 
+            ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
                     ConfigurationContextFactory.createConfigurationContextFromFileSystem(
                             "target/test-resources/integrationRepo",null);
             ServiceClient serviceClient = new ServiceClient(configContext, null);
             serviceClient.setOptions(options);
+
             OperationClient opClient = serviceClient.createClient(ServiceClient.ANON_OUT_IN_OP);
-            opClient.addMessageContext(msgCtx);
-            opClient.setOptions(options);
-            MessageContext resMsgCtx = opClient.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
-            retEnvelope = resMsgCtx.getEnvelope();
+            opClient.addMessageContext(messageContext);
+            opClient.execute(true);
+            MessageContext responseMCtx = opClient.getMessageContext(WSDLConstants.MESSAGE_LABEL_IN_VALUE);
+
+            resEnv = responseMCtx.getEnvelope();
 
         } catch (Exception e) {
             throw new AxisFault(e);
         }
-        return retEnvelope;
+        return resEnv;
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport1EchoStringUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport1EchoStringUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport1EchoStringUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport1EchoStringUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
@@ -27,20 +26,17 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop/echoString/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
         OMElement operation = omfactory.createOMElement("echoString", "http://soapinterop/echoString/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         OMElement part = omfactory.createOMElement("x", "", null);
@@ -48,7 +44,6 @@
         part.addChild(omfactory.createText("strss fdfing1"));
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport2EchoStructUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport2EchoStructUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport2EchoStructUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport2EchoStructUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
@@ -27,21 +26,17 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop.org/main/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://soapinterop/","ns1");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
         OMElement operation = omfactory.createOMElement("echoStruct", "http://soapinterop/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         OMElement part = omfactory.createOMElement("inputStruct", "", null);
@@ -60,7 +55,6 @@
         part.addChild(value1);
         part.addChild(value2);
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport3StructArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport3StructArrayUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport3StructArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDImport3StructArrayUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
@@ -28,21 +27,17 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop.org/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://soapinterop/", "ns1");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
         OMElement operation = omfactory.createOMElement("echoStructArray", "http://soapinterop/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         OMElement part = omfactory.createOMElement("inputArray", "", null);
@@ -103,7 +98,6 @@
 
         operation.addChild(part);
 
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
 
     }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStringArrayUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStringArrayUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStringArrayUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStringArrayUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
@@ -28,21 +27,17 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop.org/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://soapinterop.org/WSDLInteropTestRpcEnc", "tns");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
         OMElement operation = omfactory.createOMElement("echoStringArray", "http://soapinterop.org/WSDLInteropTestRpcEnc", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         OMElement part = omfactory.createOMElement("param0", "", null);
@@ -64,7 +59,6 @@
         part.addChild(value2);
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStringUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStringUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStringUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStringUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
@@ -28,21 +27,17 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop.org/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://soapinterop.org/WSDLInteropTestRpcEnc", "tns");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
         OMElement operation = omfactory.createOMElement("echoString", "http://soapinterop.org/WSDLInteropTestRpcEnc", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         OMElement part = omfactory.createOMElement("param0", "", null);
@@ -50,7 +45,6 @@
         part.addChild(omfactory.createText("strss fdfing1"));
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStructUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStructUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStructUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcStructUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
@@ -27,21 +26,17 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop.org/main/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://soapinterop.org/WSDLInteropTestRpcEnc","ns1");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
         OMElement operation = omfactory.createOMElement("echoStruct", "http://soapinterop.org/WSDLInteropTestRpcEnc", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         OMElement part = omfactory.createOMElement("param0", "", null);
@@ -60,7 +55,7 @@
         part.addChild(value1);
         part.addChild(value2);
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
+
         return reqEnv;
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcVoidUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcVoidUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcVoidUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GDRpcVoidUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
@@ -27,21 +26,17 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop.org/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://soapinterop.org/WSDLInteropTestRpcEnc", "tns");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
         OMElement operation = omfactory.createOMElement("echoVoid", "http://soapinterop.org/WSDLInteropTestRpcEnc", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         return reqEnv;

Added: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GELinkedListUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GELinkedListUtil.java?rev=370399&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GELinkedListUtil.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GELinkedListUtil.java Wed Jan 18 22:38:26 2006
@@ -0,0 +1,89 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package test.interop.whitemesa.round3.util;
+
+import org.apache.axis2.om.OMAbstractFactory;
+import org.apache.axis2.om.OMElement;
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.soap.SOAPFactory;
+import org.apache.axis2.soap.SOAPBody;
+
+
+public class GELinkedListUtil implements SunRound3ClientUtil {
+
+    public SOAPEnvelope getEchoSoapEnvelope() {
+
+        SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
+        reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
+        reqEnv.declareNamespace("http://soapinterop.org/", "tns");
+        reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
+
+
+        OMElement operation = omfactory.createOMElement("echoLinkedList", "http://soapinterop.org/WSDLInteropTestRpcEnc", null);
+        SOAPBody body = omfactory.createSOAPBody(reqEnv);
+        body.addChild(operation);
+        operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        OMElement part = omfactory.createOMElement("param0", "", null);
+        part.addAttribute("xsi:type", "s:List", null);
+
+
+        OMElement value00 = omfactory.createOMElement("varInt", "", null);
+        value00.addAttribute("xsi:type", "xsd:int", null);
+        value00.addChild(omfactory.createText("255"));
+        OMElement value01 = omfactory.createOMElement("varString", "", null);
+        value01.addAttribute("xsi:type", "xsd:string", null);
+        value01.addChild(omfactory.createText("Axis2"));
+        OMElement value02 = omfactory.createOMElement("child", "", null);
+        value02.addAttribute("href", "#ID1", null);
+
+
+        OMElement part2 = omfactory.createOMElement("item0", null);
+        part2.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
+
+        part2.addAttribute("xsi:type", "s:List", null);
+        part2.addAttribute("id", "ID1", null);
+
+
+        OMElement value10 = omfactory.createOMElement("varInt", "", null);
+        value10.addAttribute("xsi:type", "xsd:int", null);
+        value10.addChild(omfactory.createText("21"));
+        OMElement value11 = omfactory.createOMElement("varString", "", null);
+        value11.addAttribute("xsi:type", "xsd:string", null);
+        value11.addChild(omfactory.createText("LSF"));
+        OMElement value12 = omfactory.createOMElement("child", "", null);
+        value12.addAttribute("xsi:type", "xsd:anyType", null);
+        value12.addAttribute(" xsi:nil", "1", null);
+        part.addChild(value00);
+        part.addChild(value01);
+        part.addChild(value02);
+
+        part2.addChild(value10);
+        part2.addChild(value11);
+        part2.addChild(value12);
+
+        operation.addChild(part);
+        body.addChild(part2);
+
+        return reqEnv;
+
+    }
+}

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GEListUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GEListUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GEListUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GEListUtil.java Wed Jan 18 22:38:26 2006
@@ -18,75 +18,43 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
-
 public class GEListUtil implements SunRound3ClientUtil {
 
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop.org/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
-        reqEnv.declareNamespace("http://soapinterop.org/WSDLInteropTestRpcEnc", "ns1");
-        reqEnv.declareNamespace("http://soapinterop.org/WSDLInteropTestList", "ns2");
-        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
+        reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi");
 
         OMElement operation = omfactory.createOMElement("echoLinkedList", "http://soapinterop.org/WSDLInteropTestRpcEnc", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         OMElement part = omfactory.createOMElement("param0", "", null);
         part.addAttribute("xsi:type", "s:List", null);
 
-
         OMElement value00 = omfactory.createOMElement("varInt", "", null);
         value00.addAttribute("xsi:type", "xsd:int", null);
         value00.addChild(omfactory.createText("255"));
         OMElement value01 = omfactory.createOMElement("varString", "", null);
         value01.addAttribute("xsi:type", "xsd:string", null);
         value01.addChild(omfactory.createText("Axis2"));
-        OMElement value02 = omfactory.createOMElement("child", "", null);
-        //value02.addAttribute("xsi:type", "xsd:anyType", null);
-        value02.addAttribute("href", "#ID1", null);
-
-
-        OMElement part2 = omfactory.createOMElement("item0", null);
-        part2.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-
-        part2.addAttribute("xsi:type", "s:List", null);
-        part2.addAttribute("id", "ID1", null);
-
-
-        OMElement value10 = omfactory.createOMElement("varInt", "", null);
-        value10.addAttribute("xsi:type", "xsd:int", null);
-        value10.addChild(omfactory.createText("21"));
-        OMElement value11 = omfactory.createOMElement("varString", "", null);
-        value11.addAttribute("xsi:type", "xsd:string", null);
-        value11.addChild(omfactory.createText("LSF"));
-        OMElement value12 = omfactory.createOMElement("child", "", null);
-        value12.addAttribute("xsi:type", "xsd:anyType", null);
-        value12.addAttribute(" xsi:nil", "1", null);
+//        OMElement value02 = omfactory.createOMElement("child", "", null);
+//        value02.addAttribute("href", "#ID1", null);
+
         part.addChild(value00);
         part.addChild(value01);
-        part.addChild(value02);
-
-        part2.addChild(value10);
-        part2.addChild(value11);
-        part2.addChild(value12);
+//        part.addChild(value02);
 
         operation.addChild(part);
-        body.addChild(part2);
 
         return reqEnv;
 

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GFHeaderTestUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GFHeaderTestUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GFHeaderTestUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/GFHeaderTestUtil.java Wed Jan 18 22:38:26 2006
@@ -18,12 +18,8 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPHeader;
-import org.apache.axis2.soap.SOAPHeaderBlock;
 
 
 public class GFHeaderTestUtil implements SunRound3ClientUtil{
@@ -31,43 +27,17 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop.org/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
-        SOAPHeader header = omfactory.createSOAPHeader(reqEnv);
-        OMNamespace ns = header.declareNamespace("http://soapinterop.org/xsd", "ns0");
-        header.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
-        SOAPHeaderBlock blk1 = header.addHeaderBlock("Header1", ns);
-        OMElement h1Value1 = omfactory.createOMElement("string", ns);
-        h1Value1.addChild(omfactory.createText("String at header1"));
-        OMElement h1Value2 = omfactory.createOMElement("int", ns);
-        h1Value2.addChild(omfactory.createText("561565"));
-        blk1.addChild(h1Value1);
-        blk1.addChild(h1Value2);
-
-        SOAPHeaderBlock blk2 = header.addHeaderBlock("Header2", ns);
-        OMElement h2Value1 = omfactory.createOMElement("string", ns);
-        h2Value1.addChild(omfactory.createText("String at header2"));
-        OMElement h2Value2 = omfactory.createOMElement("int", ns);
-        h2Value2.addChild(omfactory.createText("55"));
-        blk2.addChild(h2Value2);
-        blk2.addChild(h2Value1);
-
         OMElement operation = omfactory.createOMElement("echoStringParam", "http://soapinterop.org/xsd", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addChild(omfactory.createText("apache axis2"));
         return reqEnv;
-
     }
-
-
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/Round3EmptySAEchoStringUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/Round3EmptySAEchoStringUtil.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/Round3EmptySAEchoStringUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/util/Round3EmptySAEchoStringUtil.java Wed Jan 18 22:38:26 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAPBody;
 import org.apache.axis2.soap.SOAPEnvelope;
 import org.apache.axis2.soap.SOAPFactory;
 
@@ -27,20 +26,16 @@
     public SOAPEnvelope getEchoSoapEnvelope() {
 
         SOAPFactory omfactory = OMAbstractFactory.getSOAP11Factory();
-        SOAPEnvelope reqEnv = omfactory.createSOAPEnvelope();
+        SOAPEnvelope reqEnv = omfactory.getDefaultEnvelope();
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", "soapenv");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "xmlns");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/soap/", "soap");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema", "xsd");
         reqEnv.declareNamespace("http://schemas.xmlsoap.org/soap/encoding/", "SOAP-ENC");
         reqEnv.declareNamespace("http://soapinterop/", "tns");
         reqEnv.declareNamespace("http://soapinterop.org/xsd", "s");
-        reqEnv.declareNamespace("http://schemas.xmlsoap.org/wsdl/", "wsdl");
         reqEnv.declareNamespace("http://www.w3.org/2001/XMLSchema-instance","xsi");
 
         OMElement operation = omfactory.createOMElement("echoString", "http://soapinterop/", null);
-        SOAPBody body = omfactory.createSOAPBody(reqEnv);
-        body.addChild(operation);
+        reqEnv.getBody().addChild(operation);
         operation.addAttribute("soapenv:encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/", null);
 
         OMElement part = omfactory.createOMElement("a", "", null);
@@ -48,7 +43,6 @@
         part.addChild(omfactory.createText("strss fdfing1"));
 
         operation.addChild(part);
-        //reqEnv.getBody().addChild(method);
         return reqEnv;
 
     }



Mime
View raw message