axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r373912 [5/10] - in /webservices/axis2/trunk/java/modules/integration: itest-resources/interop/whitemesa/round2/ itest-resources/interop/whitemesa/round3/ itest/test/interop/mtom/ itest/test/interop/whitemesa/round1/ itest/test/interop/whit...
Date Tue, 31 Jan 2006 21:14:40 GMT
Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4rRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4rRound2InteropTest.java?rev=373912&r1=373911&r2=373912&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4rRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4rRound2InteropTest.java Tue Jan 31 13:13:01 2006
@@ -19,11 +19,12 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.soap.SOAPEnvelope;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoSimpleTypesAsStructUtil;
-import test.interop.whitemesa.round2.util.GroupbEchoStructAsSimpleTypesUtil;
 import test.interop.whitemesa.round2.util.Round2EchoBase64ClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoBooleanClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoDateClientUtil;
@@ -38,7 +39,6 @@
 import test.interop.whitemesa.round2.util.Round2EchoStructArrayClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoStructClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoVoidClientUtil;
-import test.interop.whitemesa.round2.util.SunRound2ClientUtil;
 
 import java.io.File;
 
@@ -48,8 +48,6 @@
  * WSDLs:-
  * "base"     http://www.jin.gr.jp/~nahi/Ruby/SOAP4R/SOAPBuildersInterop/SOAP4R_SOAPBuildersInteropTest_R2base.wsdl
  * "Group B"  http://www.jin.gr.jp/~nahi/Ruby/SOAP4R/SOAPBuildersInterop/SOAP4R_SOAPBuildersInteropTest_R2GroupB.wsdl
- *
- * todo - All tests fail
  */
 
 public class S4rRound2InteropTest extends WhiteMesaIneterop {
@@ -60,7 +58,8 @@
     String soapAction = "";
     String resFilePath = "interop/whitemesa/round2/";
     String tempPath = "";
-    SunRound2ClientUtil util;
+    SunClientUtil util;
+    SunClient client = new SunClient();
 
     /**
      * Round2
@@ -72,7 +71,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseStringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -87,7 +86,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -102,7 +101,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseIntegerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -117,7 +116,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerArrayclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseIntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -132,7 +131,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseFloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -147,7 +146,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseFloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -162,7 +161,7 @@
         soapAction = "";
 
         util = new Round2EchoStructClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -177,7 +176,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStructArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseStructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -192,7 +191,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoVoidClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseVoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -207,7 +206,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBase64ClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseBase64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -222,7 +221,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDateClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseDateRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -238,7 +237,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoHexBinaryClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseHexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -253,7 +252,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDecimalClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseDecimalRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -268,7 +267,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBooleanClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rBaseBooleanRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -283,7 +282,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoSimpleTypesAsStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rGroupbSimpletypesAsStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -298,7 +297,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEcho2DStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rGroupb2DStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -313,7 +312,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rGroupbNestedStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -328,7 +327,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4rGroupbNestedArrayRes.xml";
         compareXML(retEnv, tempPath);
     }

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4s4c2Round2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4s4c2Round2InteropTest.java?rev=373912&r1=373911&r2=373912&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4s4c2Round2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4s4c2Round2InteropTest.java Tue Jan 31 13:13:01 2006
@@ -19,6 +19,8 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.soap.SOAPEnvelope;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
@@ -50,7 +52,6 @@
 import test.interop.whitemesa.round2.util.Round2EchoStructArrayClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoStructClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoVoidClientUtil;
-import test.interop.whitemesa.round2.util.SunRound2ClientUtil;
 
 import java.io.File;
 /**
@@ -60,7 +61,7 @@
  * "base"     http://soap.4s4c.com/ilab2/ilab.wsdl
  * "Group B"  http://soap.4s4c.com/ilab2/ilab_b.wsdl
  * "Group C"  http://soap.4s4c.com/ilab2/ilab_c.wsdl
- * todo - All tests failed !!!
+ * Todo - All tests failed giving a null pointer exception.
  */
 
 public class S4s4c2Round2InteropTest extends WhiteMesaIneterop {
@@ -71,12 +72,8 @@
     String soapAction = "";
     String resFilePath = "interop/whitemesa/round2/";
     String tempPath = "";
-    SunRound2ClientUtil util;
-
-    public void testChack(){
-        //just addding a test case , since all the tase casea are fail
-    }
-
+    SunClientUtil util;
+    SunClient client = new SunClient();
 
     /**
      * Round2
@@ -84,12 +81,11 @@
      * operation echoString
      */
     public void testR2BaseEchoString() throws AxisFault {
-//        url = "http://soap.4s4c.com/ilab2/soap.asp";
-        url = "http://127.0.0.1:8080/ilab2/soap.asp";
+        url = "http://soap.4s4c.com/ilab2/soap.asp";
         soapAction = "urn:interopLab#echoString";
 
         util = new Round2EchoStringclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -104,7 +100,7 @@
         soapAction = "urn:interopLab#echoStringArray";
 
         util = new Round2EchoStringArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SunBaseStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -119,7 +115,7 @@
         soapAction = "urn:interopLab#echoInteger";
 
         util = new Round2EchoIntegerClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseIntegerRes.xml";
        compareXML(retEnv, tempPath);
     }
@@ -134,7 +130,7 @@
         soapAction = "urn:interopLab#echoIntegerArray";
 
         util = new Round2EchoIntegerArrayclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseIntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -149,7 +145,7 @@
         soapAction = "urn:interopLab#echoFloat";
 
         util = new Round2EchoFloatClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseFloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -164,7 +160,7 @@
         soapAction = "urn:interopLab#echoFloatArray";
 
         util = new Round2EchoFloatArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseFloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -179,7 +175,7 @@
         soapAction = "urn:interopLab#echoStruct";
 
         util = new Round2EchoStructClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -194,7 +190,7 @@
         soapAction = "urn:interopLab#echoStructArray";
 
         util = new Round2EchoStructArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -209,7 +205,7 @@
         soapAction = "urn:interopLab#echoVoid";
 
         util = new Round2EchoVoidClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseVoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -224,7 +220,7 @@
         soapAction = "urn:interopLab#echoBase64";
 
         util = new Round2EchoBase64ClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBase64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -232,14 +228,14 @@
     /**
      * Round2
      * Group Base
-     * operation echoBase64
+     * operation echoDate
      */
     public void testR2BaseEchoDate() throws AxisFault  {
         url = "http://soap.4s4c.com/ilab2/soap.asp";
         soapAction = "urn:interopLab#echoDate";
 
         util = new Round2EchoDateClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseDateRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -255,7 +251,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoHexBinaryClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseHexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -270,7 +266,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDecimalClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseDecimalRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -285,7 +281,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBooleanClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBooleanRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -300,7 +296,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoStructAsSimpleTypesUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupbStructAsSimpleTypesRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -315,7 +311,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoSimpleTypesAsStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupbSimpletypesAsStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -330,7 +326,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEcho2DStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupb2DStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -345,7 +341,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupbNestedStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -360,7 +356,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupbNestedArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -375,7 +371,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcEchoStringUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcEchoStringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -390,7 +386,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcIntergerUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcIntergerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -405,7 +401,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -420,7 +416,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcIntegerArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcIntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -435,7 +431,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcFloatUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcFloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -450,7 +446,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcFloatArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcFloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -465,7 +461,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -480,7 +476,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcStructArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcStructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -495,7 +491,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcVoidUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcVoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -510,7 +506,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcBase64Util();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcBase64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -525,7 +521,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcHexBinaryUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcHexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -540,7 +536,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcBooleanUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcBooleanRes.xml";
         compareXML(retEnv, tempPath);
     }

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4s4cRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4s4cRound2InteropTest.java?rev=373912&r1=373911&r2=373912&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4s4cRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/S4s4cRound2InteropTest.java Tue Jan 31 13:13:01 2006
@@ -19,6 +19,8 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.soap.SOAPEnvelope;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
@@ -38,7 +40,6 @@
 import test.interop.whitemesa.round2.util.Round2EchoStructArrayClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoStructClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoVoidClientUtil;
-import test.interop.whitemesa.round2.util.SunRound2ClientUtil;
 
 /**
  * class
@@ -46,8 +47,6 @@
  * WSDLs:-
  * "base"     http://www.pocketsoap.com/services/ilab.wsdl
  * "Group B"  http://www.pocketsoap.com/services/ilab_b.wsdl
- * 
- * todo - all tests fail
  */
 
 public class S4s4cRound2InteropTest extends WhiteMesaIneterop {
@@ -58,7 +57,8 @@
     String FS = System.getProperty("file.separator");
     String resFilePath = "interop/whitemesa/round2/";
     String tempPath = "";
-    SunRound2ClientUtil util;
+    SunClientUtil util;
+    SunClient client = new SunClient();
 
     /**
      * Round2
@@ -70,7 +70,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseStringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -85,7 +85,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -100,7 +100,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseIntegerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -115,7 +115,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerArrayclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseIntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -130,7 +130,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseFloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -145,7 +145,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseFloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -160,7 +160,7 @@
         soapAction = "";
 
         util = new Round2EchoStructClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -175,7 +175,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStructArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseStructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -190,7 +190,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoVoidClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseVoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -205,7 +205,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBase64ClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseBase64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -220,7 +220,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDateClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseDateRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -236,7 +236,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoHexBinaryClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseHexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -251,7 +251,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDecimalClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseDecimalRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -266,7 +266,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBooleanClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseBooleanRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -281,7 +281,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoStructAsSimpleTypesUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cGroupbStructAsSimpleTypesRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -296,7 +296,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoSimpleTypesAsStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cGroupbSimpletypesAsStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -311,7 +311,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEcho2DStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cGroupb2DStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -326,7 +326,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cGroupbNestedStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -341,7 +341,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cGroupbNestedArrayRes.xml";
         compareXML(retEnv, tempPath);
     }

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SLRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SLRound2InteropTest.java?rev=373912&r1=373911&r2=373912&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SLRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SLRound2InteropTest.java Tue Jan 31 13:13:01 2006
@@ -19,6 +19,8 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.soap.SOAPEnvelope;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
@@ -50,7 +52,6 @@
 import test.interop.whitemesa.round2.util.Round2EchoStructArrayClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoStructClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoVoidClientUtil;
-import test.interop.whitemesa.round2.util.SunRound2ClientUtil;
 
 import java.io.File;
 
@@ -61,10 +62,10 @@
  * "base"     http://services.soaplite.com/interop2.wsdl
  * "Group B"  http://services.soaplite.com/InteropTestB.wsdl
  * "Group C"  http://services.soaplite.com/InteropTestC.wsdl
+ * <p/>
+ * Todo - All tests fails. Soap Action does not match.
  */
 
-//todo All tests failed !!!  Soap Action does not match.
-
 public class SLRound2InteropTest extends WhiteMesaIneterop {
 
     SOAPEnvelope retEnv = null;
@@ -73,12 +74,8 @@
     String soapAction = "";
     String resFilePath = "interop/whitemesa/round2/";
     String tempPath = "";
-    SunRound2ClientUtil util;
-
-    public void testChack(){
-            //just addding a test case , since all the tase casea are fail
-        }
-    
+    SunClientUtil util;
+    SunClient client = new SunClient();
 
     /**
      * Round2
@@ -90,7 +87,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -100,11 +97,11 @@
      * operation echoStringArray
      */
     public void testR2BaseEchoStringArray() throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SunBaseStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -115,11 +112,11 @@
      * operation echoInteger
      */
     public void testR2BaseEchoInteger() throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseIntegerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -129,12 +126,12 @@
      * Group Base
      * operation echoIntegerArray
      */
-    public void testR2BaseEchoIntegerArray() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoIntegerArray() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerArrayclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseIntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -144,12 +141,12 @@
      * Group Base
      * operation echoFloat
      */
-    public void testR2BaseEchoFloat()  throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoFloat() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseFloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -159,12 +156,12 @@
      * Group Base
      * operation echoFloatArray
      */
-    public void testR2BaseEchoFloatArray()  throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoFloatArray() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseFloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -174,12 +171,12 @@
      * Group Base
      * operation echoStruct
      */
-    public void testRBaseEchoStruct() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testRBaseEchoStruct() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "";
 
         util = new Round2EchoStructClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -189,12 +186,12 @@
      * Group Base
      * operation echoStructArray
      */
-    public void testR2BaseEchoStructArray() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoStructArray() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStructArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -204,12 +201,12 @@
      * Group Base
      * operation echoVoid
      */
-    public void testR2BaseEchoVoid() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoVoid() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoVoidClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseVoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -219,12 +216,12 @@
      * Group Base
      * operation echoBase64
      */
-    public void testR2BaseEchoBase64() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoBase64() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBase64ClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBase64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -234,12 +231,12 @@
      * Group Base
      * operation echoBase64
      */
-    public void testR2BaseEchoDate() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoDate() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDateClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseDateRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -250,12 +247,12 @@
      * Group Base
      * operation echoHexBinary
      */
-    public void testR2BaseEchoHexBinary() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoHexBinary() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoHexBinaryClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseHexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -265,12 +262,12 @@
      * Group Base
      * operation echoDecimal
      */
-    public void testR2BaseEchoDecimal() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoDecimal() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDecimalClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseDecimalRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -280,12 +277,12 @@
      * Group Base
      * operation echoBoolean
      */
-    public void testR2BaseEchoBoolean() throws AxisFault  {
-        url = "http://localhost:8010/interop.cgi";
+    public void testR2BaseEchoBoolean() throws AxisFault {
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBooleanClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBooleanRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -296,11 +293,11 @@
      * operation echoStructAsSimpleTypes
      */
     public void testR2GBEchoStructAsSimpleTypes() throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoStructAsSimpleTypesUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupbStructAsSimpleTypesRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -311,11 +308,11 @@
      * operation echoSimpleTypesAsStruct
      */
     public void testR2GBEchoSimpleTypesAsStruct() throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoSimpleTypesAsStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupbSimpletypesAsStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -326,11 +323,11 @@
      * operation echo2DStringArray
      */
     public void testR2GBEcho2DStringArray() throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEcho2DStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupb2DStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -341,11 +338,11 @@
      * operation echoNestedStruct
      */
     public void testR2GBEchoNestedStruct() throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupbNestedStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -356,11 +353,11 @@
      * operation echoNestedArray
      */
     public void testR2GBEchoNestedArray() throws AxisFault {
-        url = "http://localhost:8010/interop.cgi";
+        url = "http://services.soaplite.com/interop.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupbNestedArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -371,11 +368,11 @@
      * operation echoString
      */
     public void testR2GCEchoString() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcEchoStringUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcEchoStringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -386,11 +383,11 @@
      * operation echoInterger
      */
     public void testR2GCEchoInterger() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcIntergerUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcIntergerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -401,11 +398,11 @@
      * operation echoStringArray
      */
     public void testR2GCEchoStringArray() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -416,11 +413,11 @@
      * operation echoIntergerArray
      */
     public void testR2GCEchoIntergerArray() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcIntegerArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcIntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -431,11 +428,11 @@
      * operation echoFloat
      */
     public void testR2GCEchoFloat() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcFloatUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcFloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -446,11 +443,11 @@
      * operation echoFloatArray
      */
     public void testR2GCEchoFloatArray() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcFloatArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcFloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -461,11 +458,11 @@
      * operation echoStruct
      */
     public void testR2GCEchoStruct() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -476,11 +473,11 @@
      * operation echoStructArray
      */
     public void testR2GCEchoStructArray() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcStructArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcStructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -491,11 +488,11 @@
      * operation echoVoid
      */
     public void testR2GCEchoVoid() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcVoidUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcVoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -506,11 +503,11 @@
      * operation echoBase64
      */
     public void testR2GCEchoBase64() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcBase64Util();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcBase64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -521,11 +518,11 @@
      * operation echoHexBinary
      */
     public void testR2GCEchoHexBinary() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcHexBinaryUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcHexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -536,11 +533,11 @@
      * operation echoBoolean
      */
     public void testR2GCEchoBoolean() throws AxisFault {
-        url = "http://localhost:8010/interopC.cgi";
+        url = "http://services.soaplite.com/interopC.cgi";
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcBooleanUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GroupcBooleanRes.xml";
         compareXML(retEnv, tempPath);
     }

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SPJRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SPJRound2InteropTest.java?rev=373912&r1=373911&r2=373912&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SPJRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SPJRound2InteropTest.java Tue Jan 31 13:13:01 2006
@@ -19,6 +19,8 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.soap.SOAPEnvelope;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
@@ -38,7 +40,6 @@
 import test.interop.whitemesa.round2.util.Round2EchoStructArrayClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoStructClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoVoidClientUtil;
-import test.interop.whitemesa.round2.util.SunRound2ClientUtil;
 
 import java.io.File;
 
@@ -59,7 +60,8 @@
     String soapAction = "";
     String resFilePath = "interop/whitemesa/round2/";
     String tempPath = "";
-    SunRound2ClientUtil util;
+    SunClientUtil util;
+    SunClient client = new SunClient();
 
     /**
      * Round2
@@ -71,7 +73,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseStringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -86,7 +88,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -101,7 +103,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseIntegerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -116,7 +118,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerArrayclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseIntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -131,7 +133,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseFloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -146,7 +148,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseFloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -161,7 +163,7 @@
         soapAction = "";
 
         util = new Round2EchoStructClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -176,7 +178,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStructArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseStructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -191,7 +193,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoVoidClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseVoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -206,7 +208,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBase64ClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseBase64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -221,7 +223,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDateClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseDateRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -237,7 +239,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoHexBinaryClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseHexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -252,7 +254,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDecimalClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseDecimalRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -267,7 +269,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBooleanClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseBooleanRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -282,7 +284,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoStructAsSimpleTypesUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJGroupbStructAsSimpleTypesRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -297,7 +299,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoSimpleTypesAsStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJGroupbSimpletypesAsStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -312,7 +314,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEcho2DStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJGroupb2DStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -327,7 +329,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJGroupbNestedStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -342,7 +344,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbEchoNestedArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJGroupbNestedArrayRes.xml";
         compareXML(retEnv, tempPath);
     }

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SSRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SSRound2InteropTest.java?rev=373912&r1=373911&r2=373912&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SSRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SSRound2InteropTest.java Tue Jan 31 13:13:01 2006
@@ -19,6 +19,8 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.soap.SOAPEnvelope;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.round2.util.Round2EchoBase64ClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoBooleanClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoDateClientUtil;
@@ -33,7 +35,6 @@
 import test.interop.whitemesa.round2.util.Round2EchoStructArrayClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoStructClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoVoidClientUtil;
-import test.interop.whitemesa.round2.util.SunRound2ClientUtil;
 
 import java.io.File;
 
@@ -42,7 +43,7 @@
  * To test Interoperability Axis2 clients vs SilverStream Server, Round2
  * WSDL:-
  * "base"  	http://www.xmethods.net/soapbuilders/silverstream/InteropTest.wsdl
- *
+ * <p/>
  * All tests failed since no service tag is available in the endpoint WSDL
  */
 
@@ -54,12 +55,8 @@
     String soapAction = "";
     String resFilePath = "interop/whitemesa/round2/";
     String tempPath = "";
-    SunRound2ClientUtil util;
-
-    public void testChack(){
-            //just addding a test case , since all the tase casea are fail
-        }
-    
+    SunClientUtil util;
+    SunClient client = new SunClient();
 
     /**
      * Round2
@@ -71,10 +68,10 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStringRes.xml";
         compareXML(retEnv, tempPath);
-   }
+    }
 
     /**
      * Round2
@@ -86,9 +83,9 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStringArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SunBaseStringArrayRes.xml";
-       compareXML(retEnv, tempPath);
+        compareXML(retEnv, tempPath);
     }
 
     /**
@@ -101,7 +98,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseIntegerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -111,12 +108,12 @@
      * Group Base
      * operation echoIntegerArray
      */
-    public void testR2BaseEchoIntegerArray() throws AxisFault  {
+    public void testR2BaseEchoIntegerArray() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoIntegerArrayclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseIntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -126,12 +123,12 @@
      * Group Base
      * operation echoFloat
      */
-    public void testR2BaseEchoFloat()  throws AxisFault {
+    public void testR2BaseEchoFloat() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseFloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -141,12 +138,12 @@
      * Group Base
      * operation echoFloatArray
      */
-    public void testR2BaseEchoFloatArray()  throws AxisFault {
+    public void testR2BaseEchoFloatArray() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoFloatArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseFloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -156,12 +153,12 @@
      * Group Base
      * operation echoStruct
      */
-    public void testRBaseEchoStruct() throws AxisFault  {
+    public void testRBaseEchoStruct() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "";
 
         util = new Round2EchoStructClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -171,12 +168,12 @@
      * Group Base
      * operation echoStructArray
      */
-    public void testR2BaseEchoStructArray() throws AxisFault  {
+    public void testR2BaseEchoStructArray() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoStructArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -186,12 +183,12 @@
      * Group Base
      * operation echoVoid
      */
-    public void testR2BaseEchoVoid() throws AxisFault  {
+    public void testR2BaseEchoVoid() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoVoidClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseVoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -201,12 +198,12 @@
      * Group Base
      * operation echoBase64
      */
-    public void testR2BaseEchoBase64() throws AxisFault  {
+    public void testR2BaseEchoBase64() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBase64ClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBase64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -216,12 +213,12 @@
      * Group Base
      * operation echoBase64
      */
-    public void testR2BaseEchoDate() throws AxisFault  {
+    public void testR2BaseEchoDate() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDateClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseDateRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -232,12 +229,12 @@
      * Group Base
      * operation echoHexBinary
      */
-    public void testR2BaseEchoHexBinary() throws AxisFault  {
+    public void testR2BaseEchoHexBinary() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoHexBinaryClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseHexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -247,12 +244,12 @@
      * Group Base
      * operation echoDecimal
      */
-    public void testR2BaseEchoDecimal() throws AxisFault  {
+    public void testR2BaseEchoDecimal() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoDecimalClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseDecimalRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -262,12 +259,12 @@
      * Group Base
      * operation echoBoolean
      */
-    public void testR2BaseEchoBoolean() throws AxisFault  {
+    public void testR2BaseEchoBoolean() throws AxisFault {
         url = "http://explorer.ne.mediaone.net/app/interop/interop";
         soapAction = "http://soapinterop.org/";
 
         util = new Round2EchoBooleanClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBooleanRes.xml";
         compareXML(retEnv, tempPath);
     }

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/ASPNetRound2Soap12Test.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/ASPNetRound2Soap12Test.java?rev=373912&r1=373911&r2=373912&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/ASPNetRound2Soap12Test.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/ASPNetRound2Soap12Test.java Tue Jan 31 13:13:01 2006
@@ -19,8 +19,8 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.soap.SOAPEnvelope;
 import test.interop.whitemesa.WhiteMesaIneterop;
-import test.interop.whitemesa.round2.SunRound2Client;
-import test.interop.whitemesa.round2.util.SunRound2ClientUtil;
+import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.round2.util.soap12.GroupbSoap12Echo2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.soap12.GroupbSoap12EchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.soap12.GroupbSoap12EchoNestedStructUtil;
@@ -63,7 +63,8 @@
     String soapAction = "";
     String resFilePath = "interop/whitemesa/round2/SOAP12/";
     String tempPath = "";
-    SunRound2ClientUtil util;
+    SunClientUtil util;
+    SunClient client = new SunClient();
 
     /**
      * Round2
@@ -75,7 +76,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12StringUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_StringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -90,7 +91,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12StringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_StringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -105,7 +106,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12IntegerUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_IntegerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -120,7 +121,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2SOAP12EchoIntegerArrayclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_IntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -135,7 +136,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoFloatClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_FloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -150,7 +151,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoFloatArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_FloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -165,7 +166,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoStructClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_StructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -180,7 +181,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoStructArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_StructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -195,7 +196,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoVoidClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_VoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -210,7 +211,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoBase64ClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_Base64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -225,7 +226,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoDateClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_DateRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -241,7 +242,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoHexBinaryUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_HexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -256,7 +257,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoDecimalClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_DecimalRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -271,7 +272,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoBooleanClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2_S12_BooleanRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -286,7 +287,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12EchoStructAsSimpleTypesUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2Gb_S12_StructAsSimpleTypesRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -301,7 +302,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12EchoSimpleTypesAsStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2Gb_S12_SimpleTypesAsStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -316,7 +317,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12Echo2DStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2Gb_S12_2DStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -331,7 +332,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12EchoNestedStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2Gb_S12_NestedStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -346,7 +347,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12EchoNestedArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2Gb_S12_NestedArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -361,7 +362,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupcSoap12VoidUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "ASPNetR2Gc_S12_VoidRes.xml";
         compareXML(retEnv, tempPath);
     }

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/GSoapRound2Soap12InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/GSoapRound2Soap12InteropTest.java?rev=373912&r1=373911&r2=373912&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/GSoapRound2Soap12InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/GSoapRound2Soap12InteropTest.java Tue Jan 31 13:13:01 2006
@@ -19,8 +19,8 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.soap.SOAPEnvelope;
 import test.interop.whitemesa.WhiteMesaIneterop;
-import test.interop.whitemesa.round2.SunRound2Client;
-import test.interop.whitemesa.round2.util.SunRound2ClientUtil;
+import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.round2.util.soap12.GroupbSoap12Echo2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.soap12.GroupbSoap12EchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.soap12.GroupbSoap12EchoNestedStructUtil;
@@ -63,7 +63,8 @@
     String soapAction = "";
     String resFilePath = "interop/whitemesa/round2/SOAP12/";
     String tempPath = "";
-    SunRound2ClientUtil util;
+    SunClientUtil util;
+    SunClient client = new SunClient();
 
     /**
      * Round2
@@ -75,7 +76,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12StringUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_StringRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -90,7 +91,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12StringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_StringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -105,7 +106,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12IntegerUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_IntegerRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -120,7 +121,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2SOAP12EchoIntegerArrayclientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_IntegerArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -135,7 +136,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoFloatClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_FloatRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -150,7 +151,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoFloatArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_FloatArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -166,7 +167,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoStructClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_StructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -181,7 +182,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoStructArrayClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_StructArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -197,7 +198,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoVoidClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_VoidRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -212,7 +213,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoBase64ClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_Base64Res.xml";
         compareXML(retEnv, tempPath);
     }
@@ -227,7 +228,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoDateClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_DateRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -243,7 +244,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoHexBinaryUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_HexBinaryRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -258,7 +259,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoDecimalClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_DecimalRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -273,7 +274,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new Round2Soap12EchoBooleanClientUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2_S12_BooleanRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -289,7 +290,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12EchoStructAsSimpleTypesUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2Gb_S12_StructAsSimpleTypesRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -305,7 +306,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12EchoSimpleTypesAsStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2Gb_S12_SimpleTypesAsStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -320,7 +321,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12Echo2DStringArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2Gb_S12_2DStringArrayRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -336,7 +337,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12EchoNestedStructUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2Gb_S12_NestedStructRes.xml";
         compareXML(retEnv, tempPath);
     }
@@ -352,7 +353,7 @@
         soapAction = "http://soapinterop.org/";
 
         util = new GroupbSoap12EchoNestedArrayUtil();
-        retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+        retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "GSoapR2Gb_S12_NestedArrayRes.xml";
         compareXML(retEnv, tempPath);
     }



Mime
View raw message