axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chamik...@apache.org
Subject svn commit: r398152 [2/3] - in /webservices/axis2/trunk/java/modules/integration: itest-resources/interop/whitemesa/round2/ itest/org/apache/axis2/rest/ itest/test/interop/whitemesa/round2/ src/test/interop/whitemesa/ src/test/interop/whitemesa/round2/...
Date Sat, 29 Apr 2006 13:50:53 GMT
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=398152&r1=398151&r2=398152&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 Sat Apr 29 06:50:49 2006
@@ -21,6 +21,7 @@
 import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.SunClientUtil;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.WhiteMesaConstants;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
@@ -72,7 +73,7 @@
         util = new Round2EchoStringclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseStringRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING);
     }
 
     /**
@@ -87,7 +88,9 @@
         util = new Round2EchoStringArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseStringArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_3);
     }
 
     /**
@@ -102,7 +105,7 @@
         util = new Round2EchoIntegerClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseIntegerRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER);
     }
 
     /**
@@ -117,7 +120,9 @@
         util = new Round2EchoIntegerArrayclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseIntegerArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_3);
     }
 
     /**
@@ -132,7 +137,7 @@
         util = new Round2EchoFloatClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseFloatRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT);
     }
 
     /**
@@ -147,7 +152,9 @@
         util = new Round2EchoFloatArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseFloatArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_3);
     }
 
     /**
@@ -162,7 +169,9 @@
         util = new Round2EchoStructClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseStructRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_INT);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_STRING);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_FLOAT);
     }
 
     /**
@@ -177,7 +186,15 @@
         util = new Round2EchoStructArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseStructArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_3);
     }
 
     /**
@@ -207,7 +224,8 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_BASE_64);
+        
     }
 
     /**
@@ -222,8 +240,8 @@
         util = new Round2EchoDateClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseDateRes.xml";
-        compareXML(retEnv, tempPath);
-    }
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_DATE);
+   }
 
 
     /**
@@ -238,7 +256,7 @@
         util = new Round2EchoHexBinaryClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseHexBinaryRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_HEX_BINARY);
     }
 
     /**
@@ -253,7 +271,7 @@
         util = new Round2EchoDecimalClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseDecimalRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_DECIMAL);
     }
 
     /**
@@ -268,7 +286,8 @@
         util = new Round2EchoBooleanClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "S4s4cBaseBooleanRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_BOOLEAN);
+
     }
 
     /**

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=398152&r1=398151&r2=398152&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 Sat Apr 29 06:50:49 2006
@@ -21,6 +21,7 @@
 import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.SunClientUtil;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.WhiteMesaConstants;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
@@ -75,7 +76,7 @@
         util = new Round2EchoStringclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseStringRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING);
     }
 
     /**
@@ -90,7 +91,9 @@
         util = new Round2EchoStringArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseStringArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_3);
     }
 
     /**
@@ -105,7 +108,7 @@
         util = new Round2EchoIntegerClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseIntegerRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER);
     }
 
     /**
@@ -120,7 +123,9 @@
         util = new Round2EchoIntegerArrayclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseIntegerArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_3);
     }
 
     /**
@@ -135,7 +140,7 @@
         util = new Round2EchoFloatClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseFloatRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT);
     }
 
     /**
@@ -150,7 +155,9 @@
         util = new Round2EchoFloatArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseFloatArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_3);
     }
 
     /**
@@ -165,7 +172,9 @@
         util = new Round2EchoStructClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseStructRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_INT);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_STRING);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_FLOAT);
     }
 
     /**
@@ -180,7 +189,16 @@
         util = new Round2EchoStructArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseStructArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_3);
+
     }
 
     /**
@@ -210,7 +228,9 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_BASE_64);
+        
     }
 
     /**
@@ -225,7 +245,7 @@
         util = new Round2EchoDateClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseDateRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_DATE);
     }
 
 
@@ -241,7 +261,7 @@
         util = new Round2EchoHexBinaryClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseHexBinaryRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_HEX_BINARY);
     }
 
     /**
@@ -256,7 +276,7 @@
         util = new Round2EchoDecimalClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseDecimalRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_DECIMAL);
     }
 
     /**
@@ -271,7 +291,7 @@
         util = new Round2EchoBooleanClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SpJBaseBooleanRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_BOOLEAN);
     }
 
     /**

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=398152&r1=398151&r2=398152&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 Sat Apr 29 06:50:49 2006
@@ -47,6 +47,7 @@
  * All tests failed since no service tag is available in the endpoint WSDL
  */
 
+//TODO check the availability of this smart
 public class SSRound2InteropTest extends WhiteMesaIneterop {
 
     SOAPEnvelope retEnv = null;

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SqlDataRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SqlDataRound2InteropTest.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SqlDataRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SqlDataRound2InteropTest.java Sat Apr 29 06:50:49 2006
@@ -21,6 +21,7 @@
 import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.SunClientUtil;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.WhiteMesaConstants;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
@@ -87,7 +88,7 @@
         util = new Round2EchoStringclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseStringRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStringResult(retEnv);
     }
 
     /**
@@ -102,7 +103,9 @@
         util = new Round2EchoStringArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseStringArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_3);
     }
 
     /**
@@ -117,7 +120,7 @@
         util = new Round2EchoIntegerClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseIntegerRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoIntegerResult(retEnv);
     }
 
     /**
@@ -132,8 +135,10 @@
         util = new Round2EchoIntegerArrayclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseIntegerArrayRes.xml";
-        compareXML(retEnv, tempPath);
-    }
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_3);
+   }
 
     /**
      * Round2
@@ -147,7 +152,7 @@
         util = new Round2EchoFloatClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseFloatRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoFloatResult(retEnv);
     }
 
     /**
@@ -162,7 +167,9 @@
         util = new Round2EchoFloatArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseFloatArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_3);
     }
 
     /**
@@ -177,7 +184,10 @@
         util = new Round2EchoStructClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseStructRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_INT);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_FLOAT);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_STRING);
+
     }
 
     /**
@@ -192,7 +202,15 @@
         util = new Round2EchoStructArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseStructArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_3);
     }
 
     /**
@@ -207,7 +225,7 @@
         util = new Round2EchoVoidClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseVoidRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoVoidResult(retEnv);
     }
 
     /**
@@ -223,7 +241,7 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBase64Result(retEnv);
     }
 
     /**
@@ -238,7 +256,7 @@
         util = new Round2EchoDateClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseDateRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDateResult(retEnv);
     }
 
 
@@ -254,7 +272,7 @@
         util = new Round2EchoHexBinaryClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseHexBinaryRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoHexBinaryResult(retEnv);
     }
 
     /**
@@ -269,7 +287,7 @@
         util = new Round2EchoDecimalClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseDecimalRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDecimalResult(retEnv);
     }
 
     /**
@@ -284,7 +302,7 @@
         util = new Round2EchoBooleanClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SqlDataBaseBooleanRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBooleanResult(retEnv);
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SunRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SunRound2InteropTest.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SunRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/SunRound2InteropTest.java Sat Apr 29 06:50:49 2006
@@ -21,6 +21,7 @@
 import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.SunClientUtil;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.WhiteMesaConstants;
 import test.interop.whitemesa.round2.util.GroupbEcho2DStringArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedArrayUtil;
 import test.interop.whitemesa.round2.util.GroupbEchoNestedStructUtil;
@@ -87,7 +88,7 @@
         util = new Round2EchoStringclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStringRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStringResult(retEnv);
     }
 
     /**
@@ -102,7 +103,9 @@
         util = new Round2EchoStringArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "SunBaseStringArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_3);
     }
 
     /**
@@ -117,7 +120,7 @@
         util = new Round2EchoIntegerClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseIntegerRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoIntegerResult(retEnv);
     }
 
     /**
@@ -132,8 +135,10 @@
         util = new Round2EchoIntegerArrayclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseIntegerArrayRes.xml";
-        compareXML(retEnv, tempPath);
-    }
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_3);
+     }
 
     /**
      * Round2
@@ -147,7 +152,7 @@
         util = new Round2EchoFloatClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseFloatRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoFloatResult(retEnv);
     }
 
     /**
@@ -162,7 +167,9 @@
         util = new Round2EchoFloatArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseFloatArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_3);
     }
 
     /**
@@ -177,7 +184,9 @@
         util = new Round2EchoStructClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStructRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_FLOAT);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_INT);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_STRING);
     }
 
     /**
@@ -192,7 +201,15 @@
         util = new Round2EchoStructArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseStructArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_3);
     }
 
     /**
@@ -207,7 +224,7 @@
         util = new Round2EchoVoidClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseVoidRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoVoidResult(retEnv);
     }
 
     /**
@@ -222,7 +239,7 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBase64Result(retEnv);
     }
 
     /**
@@ -237,7 +254,7 @@
         util = new Round2EchoDateClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseDateRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDateResult(retEnv);
     }
 
 
@@ -253,7 +270,7 @@
         util = new Round2EchoHexBinaryClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseHexBinaryRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoHexBinaryResult(retEnv);
     }
 
     /**
@@ -268,7 +285,7 @@
         util = new Round2EchoDecimalClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseDecimalRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDecimalResult(retEnv);
     }
 
     /**
@@ -283,7 +300,7 @@
         util = new Round2EchoBooleanClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBooleanRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBooleanResult(retEnv);
     }
 
     /**
@@ -328,7 +345,7 @@
         util = new GroupbEcho2DStringArrayUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunGroupb2DStringArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBase64Result(retEnv);
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/VWRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/VWRound2InteropTest.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/VWRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/VWRound2InteropTest.java Sat Apr 29 06:50:49 2006
@@ -50,10 +50,10 @@
  * "base"     http://www.cincomsmalltalk.com:8080/CincomSmalltalkWiki/DOWNLOAD/WebServices/vwInteropSchema.wsdl
  * "Group B"  http://www.cincomsmalltalk.com:8080/CincomSmalltalkWiki/DOWNLOAD/WebServices/vwInteropR2GroupB.wsdl
  * <p/>
- * All Tests fail due to an internal server error.
+ * 
  */
 
-
+//TODO verify the availability of this endpoint
 public class VWRound2InteropTest extends WhiteMesaIneterop {
 
     SOAPEnvelope retEnv = null;
@@ -212,7 +212,7 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "sunBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBase64Result(retEnv);
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WFRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WFRound2InteropTest.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WFRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WFRound2InteropTest.java Sat Apr 29 06:50:49 2006
@@ -49,7 +49,10 @@
  * "base"     http://www.wingfoot.com/interop/wingfootBase.wsdl
  * "Group B"  http://www.wingfoot.com/interop/wingfootGroupB.wsdl
  * Todo - Endpoint is confusing.
+ * 
  */
+
+//TODO verify the availability of this endpoint
 public class WFRound2InteropTest extends WhiteMesaIneterop {
 
     SOAPEnvelope retEnv = null;
@@ -208,7 +211,7 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WFBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBase64Result(retEnv);
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WMRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WMRound2InteropTest.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WMRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WMRound2InteropTest.java Sat Apr 29 06:50:49 2006
@@ -88,7 +88,8 @@
         util = new Round2EchoStringclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseStringRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStringResult(retEnv);
+
     }
 
     /**
@@ -103,7 +104,7 @@
         util = new Round2EchoStringArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseStringArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStringArrayResult(retEnv);
     }
 
     /**
@@ -118,7 +119,8 @@
         util = new Round2EchoIntegerClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseIntegerRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoIntegerResult(retEnv);
+
     }
 
     /**
@@ -133,7 +135,8 @@
         util = new Round2EchoIntegerArrayclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseIntegerArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoIntegerArrayResult(retEnv);
+
     }
 
     /**
@@ -148,7 +151,7 @@
         util = new Round2EchoFloatClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseFloatRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoFloatResult(retEnv);
     }
 
     /**
@@ -163,7 +166,7 @@
         util = new Round2EchoFloatArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseFloatArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoFloatArrayResult(retEnv);
     }
 
     /**
@@ -178,7 +181,7 @@
         util = new Round2EchoStructClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseStructRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStructResult(retEnv);
     }
 
     /**
@@ -193,7 +196,8 @@
         util = new Round2EchoStructArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseStructArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStructArrayResult(retEnv);
+
     }
 
     /**
@@ -208,7 +212,7 @@
         util = new Round2EchoVoidClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseVoidRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoVoidResult(retEnv);
     }
 
     /**
@@ -223,7 +227,7 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBase64Result(retEnv);
     }
 
     /**
@@ -238,7 +242,7 @@
         util = new Round2EchoDateClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseDateRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDateResult(retEnv);
     }
 
     /**
@@ -253,7 +257,7 @@
         util = new Round2EchoDecimalClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseDecimalRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDecimalResult(retEnv);
     }
 
     /**
@@ -268,8 +272,8 @@
         util = new Round2EchoHexBinaryClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseHexBinaryRes.xml";
-        compareXML(retEnv, tempPath);
-    }
+        assertR2DefaultEchoHexBinaryResult(retEnv);
+   }
 
     /**
      * Round2
@@ -283,7 +287,8 @@
         util = new Round2EchoBooleanClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WMBaseBooleanRes.xml";
-        compareXML(retEnv, tempPath);
+        String booleanResult = "1";
+        assertValueIsInThePayload(retEnv,booleanResult);
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WaspRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WaspRound2InteropTest.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WaspRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/WaspRound2InteropTest.java Sat Apr 29 06:50:49 2006
@@ -76,7 +76,7 @@
         util = new Round2EchoStringclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseStringRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStringResult(retEnv);
     }
 
     /**
@@ -91,7 +91,7 @@
         util = new Round2EchoStringArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseStringArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStringArrayResult(retEnv);
     }
 
     /**
@@ -106,7 +106,7 @@
         util = new Round2EchoIntegerClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseIntegerRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoIntegerResult(retEnv);
     }
 
     /**
@@ -121,7 +121,7 @@
         util = new Round2EchoIntegerArrayclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseIntegerArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoIntegerArrayResult(retEnv);
     }
 
     /**
@@ -136,7 +136,7 @@
         util = new Round2EchoFloatClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseFloatRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoFloatResult(retEnv);
     }
 
     /**
@@ -151,7 +151,7 @@
         util = new Round2EchoFloatArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseFloatArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoFloatArrayResult(retEnv);
     }
 
     /**
@@ -166,7 +166,7 @@
         util = new Round2EchoStructClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseStructRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStructResult(retEnv);
     }
 
     /**
@@ -181,7 +181,7 @@
         util = new Round2EchoStructArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseStructArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStructArrayResult(retEnv);
     }
 
     /**
@@ -196,7 +196,7 @@
         util = new Round2EchoVoidClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseVoidRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoVoidResult(retEnv);
     }
 
     /**
@@ -211,7 +211,7 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBase64Result(retEnv);
     }
 
     /**
@@ -226,7 +226,7 @@
         util = new Round2EchoDateClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseDateRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDateResult(retEnv);
     }
 
 
@@ -242,7 +242,7 @@
         util = new Round2EchoHexBinaryClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseHexBinaryRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoHexBinaryResult(retEnv);
     }
 
     /**
@@ -257,7 +257,7 @@
         util = new Round2EchoDecimalClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseDecimalRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDecimalResult(retEnv);
     }
 
     /**
@@ -272,7 +272,7 @@
         util = new Round2EchoBooleanClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "WaspBaseBooleanRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBooleanResult(retEnv);
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/XSRound2InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/XSRound2InteropTest.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/XSRound2InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/XSRound2InteropTest.java Sat Apr 29 06:50:49 2006
@@ -21,6 +21,7 @@
 import test.interop.whitemesa.SunClient;
 import test.interop.whitemesa.SunClientUtil;
 import test.interop.whitemesa.WhiteMesaIneterop;
+import test.interop.whitemesa.WhiteMesaConstants;
 import test.interop.whitemesa.round2.util.Round2EchoBase64ClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoBooleanClientUtil;
 import test.interop.whitemesa.round2.util.Round2EchoDecimalClientUtil;
@@ -69,7 +70,7 @@
         util = new Round2EchoStringclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseStringRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoStringResult(retEnv);
     }
 
     /**
@@ -84,7 +85,9 @@
         util = new Round2EchoStringArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseStringArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRING_ARR_3);
     }
 
     /**
@@ -99,7 +102,7 @@
         util = new Round2EchoIntegerClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseIntegerRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoIntegerResult(retEnv);
     }
 
     /**
@@ -114,7 +117,9 @@
         util = new Round2EchoIntegerArrayclientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseIntegerArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_INTEGER_ARR_3);
     }
 
     /**
@@ -129,7 +134,7 @@
         util = new Round2EchoFloatClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseFloatRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoFloatResult(retEnv);
     }
 
     /**
@@ -144,7 +149,9 @@
         util = new Round2EchoFloatArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseFloatArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_FLOAT_ARR_3);
     }
 
     /**
@@ -159,7 +166,9 @@
         util = new Round2EchoStructClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseStructRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_INT);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_STRING);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_FLOAT);
     }
 
     /**
@@ -174,7 +183,15 @@
         util = new Round2EchoStructArrayClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseStructArrayRes.xml";
-        compareXML(retEnv, tempPath);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_3);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_1);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_2);
+        assertValueIsInThePayload(retEnv,WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_3);  
     }
 
     /**
@@ -189,7 +206,7 @@
         util = new Round2EchoVoidClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseVoidRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoVoidResult(retEnv);
     }
 
     /**
@@ -204,7 +221,7 @@
         util = new Round2EchoBase64ClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseBase64Res.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoBase64Result(retEnv);
     }
 
     /**
@@ -237,7 +254,7 @@
         util = new Round2EchoHexBinaryClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseHexBinaryRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoHexBinaryResult(retEnv);
     }
 
     /**
@@ -252,7 +269,7 @@
         util = new Round2EchoDecimalClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseDecimalRes.xml";
-        compareXML(retEnv, tempPath);
+        assertR2DefaultEchoDecimalResult(retEnv);
     }
 
     /**
@@ -267,7 +284,8 @@
         util = new Round2EchoBooleanClientUtil();
         retEnv = client.sendMsg(util, url, soapAction);
         tempPath = resFilePath + "XSBaseBooleanRes.xml";
-        compareXML(retEnv, tempPath);
+        String booleanResult = "1"; //this gives 1 as the response for 'true'.
+        assertValueIsInThePayload(retEnv,booleanResult);
     }
 
 }

Added: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/WhiteMesaConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/WhiteMesaConstants.java?rev=398152&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/WhiteMesaConstants.java (added)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/WhiteMesaConstants.java Sat Apr 29 06:50:49 2006
@@ -0,0 +1,78 @@
+/*
+ * 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;
+
+public interface WhiteMesaConstants {
+
+	//text values of the generated SOAP envelopes.
+	String ECHO_STRING = "String Argument";
+	String ECHO_STRING_ARR_1 = "String Value1";
+	String ECHO_STRING_ARR_2 = "String Value2";
+	String ECHO_STRING_ARR_3 = "String Value3";
+	String ECHO_INTEGER = "42";
+	String ECHO_INTEGER_ARR_1 = "451";
+	String ECHO_INTEGER_ARR_2 = "425";
+	String ECHO_INTEGER_ARR_3 = "2523";
+	String ECHO_FLOAT = "50.25";
+	String ECHO_FLOAT_ARR_1 = "45.768";
+	String ECHO_FLOAT_ARR_2 = "43.453";
+	String ECHO_FLOAT_ARR_3 = "2523.541";
+	String ECHO_STRUCT_INT = "42";
+	String ECHO_STRUCT_FLOAT = "0.005";
+	String ECHO_STRUCT_STRING = "hello world";
+	String ECHO_STRUCT_ARRAY_STR_1 = "String Value1"; 
+	String ECHO_STRUCT_ARRAY_STR_2 = "String Value2"; 
+	String ECHO_STRUCT_ARRAY_STR_3 = "String Value3";
+	String ECHO_STRUCT_ARRAY_INT_1 = "25"; 
+	String ECHO_STRUCT_ARRAY_INT_2 = "26"; 
+	String ECHO_STRUCT_ARRAY_INT_3 = "27"; 
+	String ECHO_STRUCT_ARRAY_FLOAT_1 = "25.231"; 
+	String ECHO_STRUCT_ARRAY_FLOAT_2 = "25.251"; 
+	String ECHO_STRUCT_ARRAY_FLOAT_3 = "25.251"; 
+	String ECHO_BASE_64 = "SGVsbG8gV29ybGQ=";
+	String ECHO_HEX_BINARY = "AAABBAAE";
+	String ECHO_DATE = "2006-10-18T22:20:00-07:00";
+	String ECHO_DECIMAL = "455646152";
+	String ECHO_BOOLEAN = "true";
+	
+	
+	String seperator = "/";
+	String nsValue = "http://soapinterop.org/";
+	String nsPrefix = "ns1";
+	String echoIntegerResponse  = "echoIntegerResponse";
+	String ret = "return";
+	String echoStringResponse  = "echoStringResponse";
+	String echoStringArrayResponse = "echoStringArrayResponse";
+	String item = "item";
+	String echoIntegerArrayResponse = "echoIntegerArrayResponse";
+	String echoFloatResponse  = "echoFloatResponse";
+	String echoFloatArrayResponse = "echoFloatArrayResponse";
+	String echoStructResponse = "echoStructResponse";
+	String varInt = "varInt";
+	String varFloat = "varFloat";
+	String varString = "varString";
+	String echoVoidResponse  = "echoVoidResponse";
+	String echoBase64Response = "echoBase64Response";
+	String echoHexBinaryResponse = "echoHexBinaryResponse";
+	String echoDateResponse = "echoDateResponse";
+	String echoDecimalResponse = "echoDecimalResponse";
+	String echoBooleanResponse = "echoBooleanResponse";
+	String echoStructArrayResponse = "echoStructArrayResponse";
+	String textNodeSelector = "text()";
+	String colon = ":";
+	
+}

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/WhiteMesaIneterop.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/WhiteMesaIneterop.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/WhiteMesaIneterop.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/WhiteMesaIneterop.java Sat Apr 29 06:50:49 2006
@@ -16,18 +16,28 @@
 
 package test.interop.whitemesa;
 
+import java.io.InputStream;
+import java.util.Iterator;
+import java.util.List;
+
+import javax.xml.namespace.QName;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+
+import org.apache.axiom.om.OMElement;
+import org.apache.axiom.om.OMText;
 import org.apache.axiom.om.OMXMLParserWrapper;
+import org.apache.axiom.om.xpath.AXIOMXPath;
 import org.apache.axiom.soap.SOAPBody;
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder;
 import org.apache.axis2.AxisFault;
 import org.custommonkey.xmlunit.XMLTestCase;
+import org.jaxen.JaxenException;
+import org.jaxen.SimpleNamespaceContext;
+import org.jaxen.XPath;
 
-import javax.xml.stream.XMLInputFactory;
-import javax.xml.stream.XMLStreamReader;
-import java.io.InputStream;
-
-public class WhiteMesaIneterop extends XMLTestCase {
+public class WhiteMesaIneterop extends XMLTestCase implements WhiteMesaConstants {
 
     protected void compareXML(SOAPEnvelope retEnv, String filePath)
             throws AxisFault {
@@ -48,13 +58,430 @@
                             .getDocumentElement();
                     String refXML = refEnv.toString();
                     String retXML = retEnv.toString();
+                    
                     assertXMLEqual(refXML, retXML);
                 }
             }
         } catch (Exception e) {
             throw new AxisFault(e);
         }
+    }
+    
+    /**
+     * Validation for the echoString operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoStringResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoStringResponse + seperator + ret + seperator + textNodeSelector;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_STRING);
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoStringArray operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoStringArrayResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoStringArrayResponse + seperator + ret + seperator + item;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			List itemElems = xpath.selectNodes(payload);
+			assertNotNull(itemElems);
+			assertEquals(itemElems.size(),3);
+			
+			Iterator iter=itemElems.iterator();
+			OMElement itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_STRING_ARR_1);
+			itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_STRING_ARR_2);
+			itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_STRING_ARR_3);
+			
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoInteger operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoIntegerResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoIntegerResponse + seperator + ret + seperator + textNodeSelector;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_INTEGER);
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoIntegerArray operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoIntegerArrayResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoIntegerArrayResponse + seperator + ret + seperator + item;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			List itemElems = xpath.selectNodes(payload);
+			assertNotNull(itemElems);
+			assertEquals(itemElems.size(),3);
+			
+			Iterator iter=itemElems.iterator();
+			OMElement itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_INTEGER_ARR_1);
+			itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_INTEGER_ARR_2);
+			itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_INTEGER_ARR_3);
+			
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoFloat operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoFloatResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoFloatResponse + seperator + ret + seperator + textNodeSelector;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_FLOAT);
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoFloatArray operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoFloatArrayResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoFloatArrayResponse + seperator + ret + seperator + item;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			List itemElems = xpath.selectNodes(payload);
+			assertNotNull(itemElems);
+			assertEquals(itemElems.size(),3);
+			
+			Iterator iter=itemElems.iterator();
+			OMElement itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_FLOAT_ARR_1);
+			itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_FLOAT_ARR_2);
+			itemElem = (OMElement) iter.next();
+			assertNotNull(itemElem);
+			assertEquals(itemElem.getText(),WhiteMesaConstants.ECHO_FLOAT_ARR_3);
+			
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoStruct operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoStructResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoStructResponse + seperator + ret + seperator + varInt;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_STRUCT_INT);
+			
+			xPathExpr = seperator + seperator + nsPrefix + colon + echoFloatResponse + seperator + ret + seperator + varFloat;
+			xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_STRUCT_FLOAT);
+			
+			xPathExpr = seperator + seperator + nsPrefix + colon + echoFloatResponse + seperator + ret + seperator + varFloat;
+			xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_STRUCT_STRING);
+			
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoStructArray operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoStructArrayResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoStructArrayResponse + seperator + 
+			                   ret + seperator + item + seperator + varString + seperator + textNodeSelector;
+			
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			List varStringElems = xpath.selectNodes(payload);
+			assertEquals(varStringElems.size(),3);
+			OMText varStringElem = (OMText) varStringElems.get(0);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_1);
+			varStringElem = (OMText) varStringElems.get(1);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_2);
+			varStringElem = (OMText) varStringElems.get(2);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_STR_3);
+			
+			
+			xPathExpr = seperator + seperator + nsPrefix + colon + echoStructArrayResponse + seperator + 
+            ret + seperator + item + seperator + varInt + seperator + textNodeSelector;
 
+			xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			varStringElems = xpath.selectNodes(payload);
+			assertEquals(varStringElems.size(),3);
+			varStringElem = (OMText) varStringElems.get(0);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_1);
+			varStringElem = (OMText) varStringElems.get(1);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_2);
+			varStringElem = (OMText) varStringElems.get(2);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_INT_3);
+			
+			xPathExpr = seperator + seperator + nsPrefix + colon + echoStructArrayResponse + seperator + 
+			ret + seperator + item + seperator + varFloat + seperator + textNodeSelector;
+			
+			xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			varStringElems = xpath.selectNodes(payload);
+			assertEquals(varStringElems.size(),3);
+			varStringElem = (OMText) varStringElems.get(0);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_1);
+			varStringElem = (OMText) varStringElems.get(1);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_2);
+			varStringElem = (OMText) varStringElems.get(2);
+			assertNotNull(varStringElem);
+			assertEquals(varStringElem.getText(),WhiteMesaConstants.ECHO_STRUCT_ARRAY_FLOAT_3);		
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoVoid operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoVoidResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement echoVoidResponseElem = body.getFirstChildWithName(new QName (nsValue,echoVoidResponse));
+    	assertNotNull(echoVoidResponseElem);
+    }
+    
+    /**
+     * Validation for the EchoBase64 operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoBase64Result (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoBase64Response + seperator + ret + seperator + textNodeSelector;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_BASE_64);
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoHexBinary operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoHexBinaryResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoHexBinaryResponse + seperator + ret + seperator + textNodeSelector;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			
+			boolean equal = WhiteMesaConstants.ECHO_HEX_BINARY.equalsIgnoreCase(textElem.getText());
+			assertTrue(equal);
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoDate operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoDateResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoDateResponse + seperator + ret + seperator + textNodeSelector;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_DATE);
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoDecimal operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoDecimalResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoDecimalResponse + seperator + ret + seperator + textNodeSelector;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_DECIMAL);
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    /**
+     * Validation for the EchoBoolean operaion according the the default wsdl
+     * A subclass should overrid this if if works with a different wsdl.
+     * 
+     * @param resultEnv
+     */
+    protected void assertR2DefaultEchoBooleanResult (SOAPEnvelope resultEnv) throws AxisFault {
+    	SOAPBody body = resultEnv.getBody();
+    	OMElement payload = body.getFirstElement();
+    	assertNotNull(payload);
+    	try {
+			String xPathExpr = seperator + seperator + nsPrefix + colon + echoBooleanResponse + seperator + ret + seperator + textNodeSelector;
+			AXIOMXPath xpath = new AXIOMXPath (xPathExpr);
+			addNamespaces(xpath);
+			OMText textElem =  (OMText) xpath.selectSingleNode(payload);
+			assertNotNull(textElem);
+			
+			assertEquals(textElem.getText(),WhiteMesaConstants.ECHO_BOOLEAN);
+		} catch (JaxenException e) {
+			throw new AxisFault (e);
+		}
+    }
+    
+    protected void assertValueIsInThePayload (SOAPEnvelope envelope,String value) {
+    	SOAPBody body = envelope.getBody();
+    	String bodyStr = body.toString();
+    	
+        String envelopoStr = bodyStr.toString();
+        assertTrue(envelopoStr.indexOf(value)!=-1);
+    }
+    
+    private void addNamespaces (XPath xpath) {
+    	SimpleNamespaceContext nsCtx = new SimpleNamespaceContext ();
+        nsCtx.addNamespace(nsPrefix,nsValue);
+        xpath.setNamespaceContext(nsCtx);
     }
 
 }

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoBase64ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoBase64ClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoBase64ClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoBase64ClientUtil.java Sat Apr 29 06:50:49 2006
@@ -21,6 +21,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 public class Round2EchoBase64ClientUtil implements SunClientUtil {
 
@@ -44,7 +45,7 @@
 //        DataHandler data = new DataHandler(new ByteArrayDataSource("WebServices".getBytes()));
 //        OMText base64EncodedText = omfactory.createOMText(data, true );
 //        part.addChild(base64EncodedText);
-        part.addChild(omfactory.createOMText("SGVsbG8gV29ybGQ="));
+        part.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_BASE_64));
 
         operation.addChild(part);
         return reqEnv;

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoBooleanClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoBooleanClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoBooleanClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoBooleanClientUtil.java Sat Apr 29 06:50:49 2006
@@ -21,6 +21,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 public class Round2EchoBooleanClientUtil implements SunClientUtil {
 
@@ -41,7 +42,7 @@
 
         OMElement part = omfactory.createOMElement("inputBoolean", "", null);
         part.addAttribute("xsi:type", "xsd:boolean", null);
-        part.addChild(omfactory.createOMText("true"));
+        part.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_BOOLEAN));
 
         operation.addChild(part);
         return reqEnv;

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoDateClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoDateClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoDateClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoDateClientUtil.java Sat Apr 29 06:50:49 2006
@@ -22,6 +22,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 
 public class Round2EchoDateClientUtil implements SunClientUtil {
@@ -45,7 +46,7 @@
 
         OMElement part = omfactory.createOMElement("inputDate", null);
         part.addAttribute("xsi:type", "xsd:dateTime", null);
-        part.addChild(omfactory.createOMText("2006-10-18T22:20:00-07:00"));
+        part.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_DATE));
 
         operation.addChild(part);
         return reqEnv;

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoDecimalClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoDecimalClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoDecimalClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoDecimalClientUtil.java Sat Apr 29 06:50:49 2006
@@ -22,6 +22,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 
 public class Round2EchoDecimalClientUtil implements SunClientUtil {
@@ -43,7 +44,7 @@
 
         OMElement part = omfactory.createOMElement("inputDecimal", "", null);
         part.addAttribute("xsi:type", "xsd:decimal", null);
-        part.addChild(omfactory.createOMText("455646152"));
+        part.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_DECIMAL));
 
         operation.addChild(part);
         return reqEnv;

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoFloatArrayClientUtil.java Sat Apr 29 06:50:49 2006
@@ -22,6 +22,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 public class Round2EchoFloatArrayClientUtil implements SunClientUtil {
 
@@ -50,13 +51,13 @@
 
         OMElement value0 = omfactory.createOMElement("varString", null);
         value0.addAttribute("xsi:type", "xsd:float", null);
-        value0.addChild(omfactory.createOMText("45.76876"));
+        value0.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_FLOAT_ARR_1));
         OMElement value1 = omfactory.createOMElement("varInt", null);
         value1.addAttribute("xsi:type", "xsd:float", null);
-        value1.addChild(omfactory.createOMText("43.454"));
+        value1.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_FLOAT_ARR_2));
         OMElement value2 = omfactory.createOMElement("varFloat", null);
         value2.addAttribute("xsi:type", "xsd:float", null);
-        value2.addChild(omfactory.createOMText("2523.542"));
+        value2.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_FLOAT_ARR_3));
 
         part.addChild(value0);
         part.addChild(value1);

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoFloatClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoFloatClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoFloatClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoFloatClientUtil.java Sat Apr 29 06:50:49 2006
@@ -23,6 +23,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 
 public class Round2EchoFloatClientUtil implements SunClientUtil {
@@ -46,7 +47,7 @@
 
         OMElement part = omfactory.createOMElement("inputFloat", "", null);
         part.addAttribute("xsi:type", "xsd:float", null);
-        part.addChild(omfactory.createOMText("50.25"));
+        part.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_FLOAT));
 
         operation.addChild(part);
         return reqEnv;

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoHexBinaryClientUtil.java Sat Apr 29 06:50:49 2006
@@ -22,6 +22,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 
 public class Round2EchoHexBinaryClientUtil implements SunClientUtil {
@@ -44,7 +45,7 @@
 
         OMElement part = omfactory.createOMElement("inputHexBinary", "", null);
         part.addAttribute("xsi:type", "xsd:hexBinary", null);
-        part.addChild(omfactory.createOMText("AAABBAAE"));
+        part.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_HEX_BINARY));
 
         operation.addChild(part);
         return reqEnv;

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoIntegerArrayclientUtil.java Sat Apr 29 06:50:49 2006
@@ -22,6 +22,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 public class Round2EchoIntegerArrayclientUtil implements SunClientUtil {
 
@@ -49,15 +50,15 @@
         OMElement value0 = omfactory.createOMElement("varString", null);
         value0.declareNamespace(typeNs);
         value0.addAttribute("type", "xsd:int", typeNs);
-        value0.addChild(omfactory.createOMText("451"));
+        value0.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_INTEGER_ARR_1));
         OMElement value1 = omfactory.createOMElement("varString", null);
         value1.declareNamespace(typeNs);
         value1.addAttribute("type", "xsd:int", typeNs);
-        value1.addChild(omfactory.createOMText("425"));
+        value1.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_INTEGER_ARR_2));
         OMElement value2 = omfactory.createOMElement("varString", null);
         value2.declareNamespace(typeNs);
         value2.addAttribute("type", "xsd:int", typeNs);
-        value2.addChild(omfactory.createOMText("2523"));
+        value2.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_INTEGER_ARR_3));
 
         part.addChild(value0);
         part.addChild(value1);

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoIntegerClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoIntegerClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoIntegerClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoIntegerClientUtil.java Sat Apr 29 06:50:49 2006
@@ -21,6 +21,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 public class Round2EchoIntegerClientUtil implements SunClientUtil {
 
@@ -39,7 +40,7 @@
 
         OMElement part = omfactory.createOMElement("inputInteger", "", null);
         part.addAttribute("xsi:type", "xsd:int", null);
-        part.addChild(omfactory.createOMText("52"));
+        part.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_INTEGER));
         operation.addChild(part);
         return reqEnv;
 

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoStringArrayClientUtil.java Sat Apr 29 06:50:49 2006
@@ -22,6 +22,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 public class Round2EchoStringArrayClientUtil implements SunClientUtil {
 
@@ -50,15 +51,15 @@
         OMElement value0 = omfactory.createOMElement("varString", null);
         value0.declareNamespace(typeNs);
         value0.addAttribute("xsi:type", "xsd:string", null);
-        value0.addChild(omfactory.createOMText("String Value1"));
+        value0.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_STRING_ARR_1));
         OMElement value1 = omfactory.createOMElement("varString", null);
         value1.declareNamespace(typeNs);
         value1.addAttribute("xsi:type", "xsd:string", null);
-        value1.addChild(omfactory.createOMText("String Value2"));
+        value1.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_STRING_ARR_2));
         OMElement value2 = omfactory.createOMElement("varString", null);
         value2.declareNamespace(typeNs);
         value2.addAttribute("xsi:type", "xsd:string", null);
-        value2.addChild(omfactory.createOMText("String Value3"));
+        value2.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_STRING_ARR_3));
 
         part.addChild(value0);
         part.addChild(value1);

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoStringclientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoStringclientUtil.java?rev=398152&r1=398151&r2=398152&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoStringclientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round2/util/Round2EchoStringclientUtil.java Sat Apr 29 06:50:49 2006
@@ -22,6 +22,7 @@
 import org.apache.axiom.soap.SOAPEnvelope;
 import org.apache.axiom.soap.SOAPFactory;
 import test.interop.whitemesa.SunClientUtil;
+import test.interop.whitemesa.WhiteMesaConstants;
 
 
 public class Round2EchoStringclientUtil implements SunClientUtil {
@@ -46,7 +47,7 @@
         OMElement part = omfactory.createOMElement("inputString", null);
         part.declareNamespace(typeNs);
         part.addAttribute("type", "xsd:string", typeNs);
-        part.addChild(omfactory.createOMText("String Argument"));
+        part.addChild(omfactory.createOMText(WhiteMesaConstants.ECHO_STRING));
 
         operation.addChild(part);
         return reqEnv;



Mime
View raw message