You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by aj...@apache.org on 2006/01/19 07:44:44 UTC
svn commit: r370399 [9/12] - in
/webservices/axis2/trunk/java/modules/integration:
itest-resources/interop/whitemesa/round2/
itest-resources/interop/whitemesa/round2/SOAP12/
itest-resources/interop/whitemesa/round3/
itest/test/interop/whitemesa/round1/...
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=370399&r1=370398&r2=370399&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 Wed Jan 18 22:38:26 2006
@@ -63,21 +63,18 @@
* "Group C" http://services.soaplite.com/InteropTestC.wsdl
*/
-//todo All tests failed !!!
+//todo All tests failed !!! Soap Action does not match.
public class SLRound2InteropTest extends WhiteMesaIneterop {
SOAPEnvelope retEnv = null;
- boolean success = false;
File file = null;
String url = "";
String soapAction = "";
- String FS = System.getProperty("file.separator");
String resFilePath = "interop/whitemesa/round2/";
String tempPath = "";
SunRound2ClientUtil util;
- boolean results;
-
+
public void testChack(){
//just addding a test case , since all the tase casea are fail
}
@@ -89,18 +86,16 @@
* operation echoString
*/
public void testR2BaseEchoString() throws AxisFault {
- url = "http://localhost:8010/interop.cgi";
+ url = "http://services.soaplite.com/interop.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2EchoStringclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseStringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
- * Round2
* Group Base
* operation echoStringArray
*/
@@ -111,8 +106,7 @@
util = new Round2EchoStringArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SunBaseStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -127,8 +121,7 @@
util = new Round2EchoIntegerClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseIntegerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -143,8 +136,7 @@
util = new Round2EchoIntegerArrayclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseIntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -159,8 +151,7 @@
util = new Round2EchoFloatClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseFloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -175,8 +166,7 @@
util = new Round2EchoFloatArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseFloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -191,8 +181,7 @@
util = new Round2EchoStructClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -207,8 +196,7 @@
util = new Round2EchoStructArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseStructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -223,8 +211,7 @@
util = new Round2EchoVoidClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseVoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -239,8 +226,7 @@
util = new Round2EchoBase64ClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseBase64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -255,8 +241,7 @@
util = new Round2EchoDateClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseDateRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
@@ -272,8 +257,7 @@
util = new Round2EchoHexBinaryClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseHexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -288,8 +272,7 @@
util = new Round2EchoDecimalClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseDecimalRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -304,8 +287,7 @@
util = new Round2EchoBooleanClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseBooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -320,8 +302,7 @@
util = new GroupbEchoStructAsSimpleTypesUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunGroupbStructAsSimpleTypesRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -336,8 +317,7 @@
util = new GroupbEchoSimpleTypesAsStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunGroupbSimpletypesAsStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -352,8 +332,7 @@
util = new GroupbEcho2DStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunGroupb2DStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -368,8 +347,7 @@
util = new GroupbEchoNestedStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunGroupbNestedStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -384,8 +362,7 @@
util = new GroupbEchoNestedArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunGroupbNestedArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -400,8 +377,7 @@
util = new GroupcEchoStringUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcEchoStringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -416,8 +392,7 @@
util = new GroupcIntergerUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcIntergerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -432,8 +407,7 @@
util = new GroupcStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -448,8 +422,7 @@
util = new GroupcIntegerArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcIntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -464,8 +437,7 @@
util = new GroupcFloatUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcFloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -480,8 +452,7 @@
util = new GroupcFloatArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcFloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -496,8 +467,7 @@
util = new GroupcStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -512,8 +482,7 @@
util = new GroupcStructArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcStructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -528,8 +497,7 @@
util = new GroupcVoidUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcVoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -544,8 +512,7 @@
util = new GroupcBase64Util();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcBase64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -560,8 +527,7 @@
util = new GroupcHexBinaryUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcHexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -576,8 +542,7 @@
util = new GroupcBooleanUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GroupcBooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ 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=370399&r1=370398&r2=370399&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 Wed Jan 18 22:38:26 2006
@@ -49,7 +49,6 @@
* "base" http://soap.fmui.de/interop.wsdl
* "Group B" http://soap.fmui.de/interopb.wsdl
*/
-//todo check echoHexBinary test
public class SPJRound2InteropTest extends WhiteMesaIneterop {
@@ -58,11 +57,9 @@
File file = null;
String url = "";
String soapAction = "";
- String FS = System.getProperty("file.separator");
String resFilePath = "interop/whitemesa/round2/";
String tempPath = "";
SunRound2ClientUtil util;
- private boolean results = false;
/**
* Round2
@@ -76,8 +73,7 @@
util = new Round2EchoStringclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseStringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -92,8 +88,7 @@
util = new Round2EchoStringArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -108,8 +103,7 @@
util = new Round2EchoIntegerClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseIntegerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -117,15 +111,14 @@
* Group Base
* operation echoIntegerArray
*/
- public void testR2BaseEchoIntegerArray() throws AxisFault {
+ public void testR2BaseEchoIntegerArray() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoIntegerArrayclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseIntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -133,15 +126,14 @@
* Group Base
* operation echoFloat
*/
- public void testR2BaseEchoFloat() throws AxisFault {
+ public void testR2BaseEchoFloat() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoFloatClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseFloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -149,15 +141,14 @@
* Group Base
* operation echoFloatArray
*/
- public void testR2BaseEchoFloatArray() throws AxisFault {
+ public void testR2BaseEchoFloatArray() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoFloatArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseFloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -165,15 +156,14 @@
* Group Base
* operation echoStruct
*/
- public void testRBaseEchoStruct() throws AxisFault {
+ public void testRBaseEchoStruct() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "";
util = new Round2EchoStructClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -181,15 +171,14 @@
* Group Base
* operation echoStructArray
*/
- public void testR2BaseEchoStructArray() throws AxisFault {
+ public void testR2BaseEchoStructArray() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoStructArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseStructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -197,15 +186,14 @@
* Group Base
* operation echoVoid
*/
- public void testR2BaseEchoVoid() throws AxisFault {
+ public void testR2BaseEchoVoid() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoVoidClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseVoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -213,15 +201,14 @@
* Group Base
* operation echoBase64
*/
- public void testR2BaseEchoBase64() throws AxisFault {
+ public void testR2BaseEchoBase64() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoBase64ClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseBase64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -229,15 +216,14 @@
* Group Base
* operation echoBase64
*/
- public void testR2BaseEchoDate() throws AxisFault {
+ public void testR2BaseEchoDate() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoDateClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseDateRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
@@ -246,15 +232,14 @@
* Group Base
* operation echoHexBinary
*/
- public void testR2BaseEchoHexBinary() throws AxisFault {
+ public void testR2BaseEchoHexBinary() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoHexBinaryClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseHexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -262,15 +247,14 @@
* Group Base
* operation echoDecimal
*/
- public void testR2BaseEchoDecimal() throws AxisFault {
+ public void testR2BaseEchoDecimal() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoDecimalClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseDecimalRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -278,15 +262,14 @@
* Group Base
* operation echoBoolean
*/
- public void testR2BaseEchoBoolean() throws AxisFault {
+ public void testR2BaseEchoBoolean() throws AxisFault {
url = "http://soap.fmui.de/RPC";
soapAction = "http://soapinterop.org/";
util = new Round2EchoBooleanClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJBaseBooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -301,8 +284,7 @@
util = new GroupbEchoStructAsSimpleTypesUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJGroupbStructAsSimpleTypesRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -317,8 +299,7 @@
util = new GroupbEchoSimpleTypesAsStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJGroupbSimpletypesAsStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -333,8 +314,7 @@
util = new GroupbEcho2DStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJGroupb2DStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -349,8 +329,7 @@
util = new GroupbEchoNestedStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJGroupbNestedStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -365,8 +344,7 @@
util = new GroupbEchoNestedArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SpJGroupbNestedArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ 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=370399&r1=370398&r2=370399&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 Wed Jan 18 22:38:26 2006
@@ -42,22 +42,20 @@
* To test Interoperability Axis2 clients vs SilverStream Server, Round2
* WSDL:-
* "base" http://www.xmethods.net/soapbuilders/silverstream/InteropTest.wsdl
+ *
+ * All tests failed since no service tag is available in the endpoint WSDL
*/
-//todo all tests failed, connection failure
public class SSRound2InteropTest extends WhiteMesaIneterop {
SOAPEnvelope retEnv = null;
- boolean success = false;
File file = null;
String url = "";
String soapAction = "";
- String FS = System.getProperty("file.separator");
String resFilePath = "interop/whitemesa/round2/";
String tempPath = "";
SunRound2ClientUtil util;
- boolean results;
-
+
public void testChack(){
//just addding a test case , since all the tase casea are fail
}
@@ -75,8 +73,7 @@
util = new Round2EchoStringclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseStringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -91,8 +88,7 @@
util = new Round2EchoStringArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SunBaseStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -107,8 +103,7 @@
util = new Round2EchoIntegerClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseIntegerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -123,8 +118,7 @@
util = new Round2EchoIntegerArrayclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseIntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -139,8 +133,7 @@
util = new Round2EchoFloatClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseFloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -155,8 +148,7 @@
util = new Round2EchoFloatArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseFloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -171,8 +163,7 @@
util = new Round2EchoStructClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -187,8 +178,7 @@
util = new Round2EchoStructArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseStructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -203,8 +193,7 @@
util = new Round2EchoVoidClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseVoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -219,8 +208,7 @@
util = new Round2EchoBase64ClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseBase64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -235,8 +223,7 @@
util = new Round2EchoDateClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseDateRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
@@ -252,8 +239,7 @@
util = new Round2EchoHexBinaryClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseHexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -268,8 +254,7 @@
util = new Round2EchoDecimalClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseDecimalRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -284,8 +269,7 @@
util = new Round2EchoBooleanClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "sunBaseBooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ 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=370399&r1=370398&r2=370399&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 Wed Jan 18 22:38:26 2006
@@ -58,14 +58,12 @@
public class ASPNetRound2Soap12Test extends WhiteMesaIneterop {
SOAPEnvelope retEnv = null;
- boolean success = false;
File file = null;
String url = "";
String soapAction = "";
String resFilePath = "interop/whitemesa/round2/SOAP12/";
String tempPath = "";
SunRound2ClientUtil util;
- private boolean results = false;
/**
* Round2
@@ -79,8 +77,7 @@
util = new Round2Soap12StringUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_StringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -95,8 +92,7 @@
util = new Round2Soap12StringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_StringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -111,8 +107,7 @@
util = new Round2Soap12IntegerUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_IntegerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -120,15 +115,14 @@
* Group Base
* operation echoIntegerArray
*/
- public void testR2BaseEchoIntegerArray() throws AxisFault {
+ public void testR2BaseEchoIntegerArray() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2SOAP12EchoIntegerArrayclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_IntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -136,15 +130,14 @@
* Group Base
* operation echoFloat
*/
- public void testR2BaseEchoFloat() throws AxisFault {
+ public void testR2BaseEchoFloat() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoFloatClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_FloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -152,15 +145,14 @@
* Group Base
* operation echoFloatArray
*/
- public void testR2BaseEchoFloatArray() throws AxisFault {
+ public void testR2BaseEchoFloatArray() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoFloatArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_FloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -168,15 +160,14 @@
* Group Base
* operation echoStruct
*/
- public void testRBaseEchoStruct() throws AxisFault {
+ public void testRBaseEchoStruct() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoStructClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_StructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -184,15 +175,14 @@
* Group Base
* operation echoStructArray
*/
- public void testR2BaseEchoStructArray() throws AxisFault {
+ public void testR2BaseEchoStructArray() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoStructArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_StructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -200,15 +190,14 @@
* Group Base
* operation echoVoid
*/
- public void testR2BaseEchoVoid() throws AxisFault {
+ public void testR2BaseEchoVoid() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoVoidClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_VoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -216,15 +205,14 @@
* Group Base
* operation echoBase64
*/
- public void testR2BaseEchoBase64() throws AxisFault {
+ public void testR2BaseEchoBase64() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoBase64ClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_Base64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -232,15 +220,14 @@
* Group Base
* operation echoBase64
*/
- public void testR2BaseEchoDate() throws AxisFault {
+ public void testR2BaseEchoDate() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoDateClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_DateRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
@@ -249,15 +236,14 @@
* Group Base
* operation echoHexBinary
*/
- public void testR2BaseEchoHexBinary() throws AxisFault {
+ public void testR2BaseEchoHexBinary() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoHexBinaryUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_HexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -265,15 +251,14 @@
* Group Base
* operation echoDecimal
*/
- public void testR2BaseEchoDecimal() throws AxisFault {
+ public void testR2BaseEchoDecimal() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoDecimalClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_DecimalRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -281,15 +266,14 @@
* Group Base
* operation echoBoolean
*/
- public void testR2BaseEchoBoolean() throws AxisFault {
+ public void testR2BaseEchoBoolean() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/simple.asmx";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoBooleanClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2_S12_BooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -304,8 +288,7 @@
util = new GroupbSoap12EchoStructAsSimpleTypesUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2Gb_S12_StructAsSimpleTypesRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -320,8 +303,7 @@
util = new GroupbSoap12EchoSimpleTypesAsStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2Gb_S12_SimpleTypesAsStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -336,8 +318,7 @@
util = new GroupbSoap12Echo2DStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2Gb_S12_2DStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -352,8 +333,7 @@
util = new GroupbSoap12EchoNestedStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2Gb_S12_NestedStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -368,8 +348,7 @@
util = new GroupbSoap12EchoNestedArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "ASPNetR2Gb_S12_NestedArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -377,16 +356,14 @@
* Group C
* operation echoVoid
*/
- //todo THis test failed, only the body returned without header
public void testR2GCEchoVoid() throws AxisFault {
url = "http://www.mssoapinterop.org/asmx/header.asmx";
soapAction = "http://soapinterop.org/";
util = new GroupcSoap12VoidUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
- tempPath = resFilePath + "GroupcVoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ 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=370399&r1=370398&r2=370399&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 Wed Jan 18 22:38:26 2006
@@ -51,19 +51,19 @@
* "base" http://soapinterop.java.sun.com/round2/base?WSDL
* "Group B" http://soapinterop.java.sun.com/round2/groupb?WSDL
* "Group C" http://soapinterop.java.sun.com/round2/groupc?WSDL
+ * <p/>
+ * Todo - Some test cases fail.
*/
public class GSoapRound2Soap12InteropTest extends WhiteMesaIneterop {
SOAPEnvelope retEnv = null;
- boolean success = false;
File file = null;
String url = "";
String soapAction = "";
String resFilePath = "interop/whitemesa/round2/SOAP12/";
String tempPath = "";
SunRound2ClientUtil util;
- private boolean results = false;
/**
* Round2
@@ -77,8 +77,7 @@
util = new Round2Soap12StringUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_StringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -93,8 +92,7 @@
util = new Round2Soap12StringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_StringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -109,8 +107,7 @@
util = new Round2Soap12IntegerUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_IntegerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -118,15 +115,14 @@
* Group Base
* operation echoIntegerArray
*/
- public void testR2BaseEchoIntegerArray() throws AxisFault {
+ public void testR2BaseEchoIntegerArray() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2SOAP12EchoIntegerArrayclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_IntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -134,15 +130,14 @@
* Group Base
* operation echoFloat
*/
- public void testR2BaseEchoFloat() throws AxisFault {
+ public void testR2BaseEchoFloat() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoFloatClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_FloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -150,15 +145,14 @@
* Group Base
* operation echoFloatArray
*/
- public void testR2BaseEchoFloatArray() throws AxisFault {
+ public void testR2BaseEchoFloatArray() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoFloatArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_FloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -166,16 +160,15 @@
* Group Base
* operation echoStruct
*/
- //todo : This test fails due to Axis2 Client Error
- public void testRBaseEchoStruct() throws AxisFault {
+ //Todo : This test fails due to Axis2 Client Error
+ public void testRBaseEchoStruct() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoStructClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_StructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -183,15 +176,14 @@
* Group Base
* operation echoStructArray
*/
- public void testR2BaseEchoStructArray() throws AxisFault {
+ public void testR2BaseEchoStructArray() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoStructArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_StructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -199,16 +191,15 @@
* Group Base
* operation echoVoid
*/
- //todo : This test fails due to Axis2 Client Error
- public void testR2BaseEchoVoid() throws AxisFault {
+ //Todo : This test fails due to Axis2 Client Error
+ public void testR2BaseEchoVoid() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoVoidClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_VoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -216,15 +207,14 @@
* Group Base
* operation echoBase64
*/
- public void testR2BaseEchoBase64() throws AxisFault {
+ public void testR2BaseEchoBase64() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoBase64ClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_Base64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -232,15 +222,14 @@
* Group Base
* operation echoBase64
*/
- public void testR2BaseEchoDate() throws AxisFault {
+ public void testR2BaseEchoDate() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoDateClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_DateRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
@@ -249,15 +238,14 @@
* Group Base
* operation echoHexBinary
*/
- public void testR2BaseEchoHexBinary() throws AxisFault {
+ public void testR2BaseEchoHexBinary() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoHexBinaryUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_HexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -265,15 +253,14 @@
* Group Base
* operation echoDecimal
*/
- public void testR2BaseEchoDecimal() throws AxisFault {
+ public void testR2BaseEchoDecimal() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoDecimalClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_DecimalRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -281,15 +268,14 @@
* Group Base
* operation echoBoolean
*/
- public void testR2BaseEchoBoolean() throws AxisFault {
+ public void testR2BaseEchoBoolean() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
soapAction = "http://soapinterop.org/";
util = new Round2Soap12EchoBooleanClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2_S12_BooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -297,7 +283,7 @@
* Group B
* operation echoStructAsSimpleTypes
*/
- //todo : This test fails due to Axis2 Client Error
+ //Todo : This test fails due to Axis2 Client Error
public void testR2GBEchoStructAsSimpleTypes() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2B.cgi";
soapAction = "http://soapinterop.org/";
@@ -305,8 +291,7 @@
util = new GroupbSoap12EchoStructAsSimpleTypesUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2Gb_S12_StructAsSimpleTypesRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -314,7 +299,7 @@
* Group B
* operation echoSimpleTypesAsStruct
*/
- //todo : This test fails due to Axis2 Client Error
+ //Todo : This test fails due to Axis2 Client Error
public void testR2GBEchoSimpleTypesAsStruct() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2B.cgi";
soapAction = "http://soapinterop.org/";
@@ -322,8 +307,7 @@
util = new GroupbSoap12EchoSimpleTypesAsStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2Gb_S12_SimpleTypesAsStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -338,8 +322,7 @@
util = new GroupbSoap12Echo2DStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2Gb_S12_2DStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -347,7 +330,7 @@
* Group B
* operation echoNestedStruct
*/
- //todo : This test fails due to Axis2 Client Error
+ //Todo : This test fails due to Axis2 Client Error
public void testR2GBEchoNestedStruct() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2B.cgi";
soapAction = "http://soapinterop.org/";
@@ -355,8 +338,7 @@
util = new GroupbSoap12EchoNestedStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2Gb_S12_NestedStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -364,7 +346,7 @@
* Group B
* operation echoNestedArray
*/
- //todo : This test fails due to Axis2 Client Error
+ //Todo : This test fails due to Axis2 Client Error
public void testR2GBEchoNestedArray() throws AxisFault {
url = "http://websrv.cs.fsu.edu/~engelen/interop2B.cgi";
soapAction = "http://soapinterop.org/";
@@ -372,28 +354,8 @@
util = new GroupbSoap12EchoNestedArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "GSoapR2Gb_S12_NestedArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
-
-
-// Cannot uncomment this : GSGroupcSoap12VoidUtil is not available
-// /**
-// * Round2
-// * Group C
-// * operation echoVoid
-// */
-// //todo : This test fails due to Axis2 Client Error
-// public void testR2GCEchoVoid() throws AxisFault {
-// url = "http://websrv.cs.fsu.edu/~engelen/interop2C.cgi";
-// soapAction = "http://soapinterop.org/";
-//
-// util = new GSGroupcSoap12VoidUtil();
-// retEnv = SunRound2Client.sendMsg(util, url, soapAction);
-// tempPath = resFilePath + "GSoapRound2Soap12GroupcVoidRes.xml";
-// results = compare(retEnv, tempPath);
-// assertTrue(results);
-// }
}
Modified: webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/WMRound2Soap12InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/WMRound2Soap12InteropTest.java?rev=370399&r1=370398&r2=370399&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/WMRound2Soap12InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/test/interop/whitemesa/round2/Soap12/WMRound2Soap12InteropTest.java Wed Jan 18 22:38:26 2006
@@ -67,14 +67,12 @@
public class WMRound2Soap12InteropTest extends WhiteMesaIneterop {
SOAPEnvelope retEnv = null;
- boolean success = false;
File file = null;
String url = "";
String soapAction = "";
String resFilePath = "interop/whitemesa/round2/SOAP12/";
String tempPath = "";
SunRound2ClientUtil util;
- private boolean results = false;
/**
* Round2
@@ -88,8 +86,7 @@
util = new Round2Soap12StringUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_StringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -104,8 +101,7 @@
util = new Round2Soap12StringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_StringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -120,8 +116,7 @@
util = new Round2Soap12IntegerUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_IntegerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -136,8 +131,7 @@
util = new Round2SOAP12EchoIntegerArrayclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_IntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -152,8 +146,7 @@
util = new Round2Soap12EchoFloatClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_FloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -168,8 +161,7 @@
util = new Round2Soap12EchoFloatArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_FloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -184,8 +176,7 @@
util = new Round2Soap12EchoStructClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_StructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -200,8 +191,7 @@
util = new Round2Soap12EchoStructArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_StructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -216,8 +206,7 @@
util = new Round2Soap12EchoVoidClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_VoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -232,8 +221,7 @@
util = new Round2Soap12EchoBase64ClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_Base64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -248,8 +236,7 @@
util = new Round2Soap12EchoDateClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_DateRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
@@ -265,8 +252,7 @@
util = new Round2Soap12EchoHexBinaryUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_HexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -281,8 +267,7 @@
util = new Round2Soap12EchoDecimalClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_DecimalRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -297,8 +282,7 @@
util = new Round2Soap12EchoBooleanClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2_S12_BooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -313,8 +297,7 @@
util = new GroupbSoap12EchoStructAsSimpleTypesUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2Gb_S12_StructAsSimpleTypesRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -329,8 +312,7 @@
util = new GroupbSoap12EchoSimpleTypesAsStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2Gb_S12_SimpleTypesAsStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -345,8 +327,7 @@
util = new GroupbSoap12Echo2DStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2Gb_S12_2DStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -361,8 +342,7 @@
util = new GroupbSoap12EchoNestedStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2Gb_S12_NestedStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -377,8 +357,7 @@
util = new GroupbSoap12EchoNestedArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMR2Gb_S12_NestedArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -393,8 +372,7 @@
util = new WMRound2Soap12GroupcEchoStringUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcEchoStringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -409,8 +387,7 @@
util = new WMRound2Soap12GroupcIntergerUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcIntergerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -425,8 +402,7 @@
util = new WMRound2Soap12GroupcStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -441,8 +417,7 @@
util = new WMRound2Soap12GroupcIntegerArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcIntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -457,8 +432,7 @@
util = new WMRound2Saop12GroupcFloatUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcFloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -473,8 +447,7 @@
util = new WMRound2Soap12GroupcFloatArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcFloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -489,8 +462,7 @@
util = new WMRound2Soap12GroupcStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -505,8 +477,7 @@
util = new WMRound2Soap12GroupcStructArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcStructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -521,8 +492,7 @@
util = new WMRound2Soap12GroupcVoidUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcVoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -537,8 +507,7 @@
util = new WMRound2Soap12GroupcBase64Util();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcBase64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -553,8 +522,7 @@
util = new WMRound2Soap12GroupcHexBinaryUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcHexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -569,8 +537,7 @@
util = new WMRound2Soap12GroupcBooleanUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMRound2Soap12GroupcBooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
}
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=370399&r1=370398&r2=370399&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 Wed Jan 18 22:38:26 2006
@@ -66,15 +66,12 @@
public class SqlDataRound2InteropTest extends WhiteMesaIneterop {
SOAPEnvelope retEnv = null;
- boolean success = false;
File file = null;
String url = "";
String soapAction = "";
- String FS = System.getProperty("file.separator");
String resFilePath = "interop/whitemesa/round2/";
String tempPath = "";
SunRound2ClientUtil util;
- private boolean results = false;
/**
* Round2
@@ -88,8 +85,7 @@
util = new Round2EchoStringclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseStringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -104,8 +100,7 @@
util = new Round2EchoStringArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -120,8 +115,7 @@
util = new Round2EchoIntegerClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseIntegerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -136,8 +130,7 @@
util = new Round2EchoIntegerArrayclientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseIntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -152,8 +145,7 @@
util = new Round2EchoFloatClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseFloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -168,8 +160,7 @@
util = new Round2EchoFloatArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseFloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -184,8 +175,7 @@
util = new Round2EchoStructClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -200,8 +190,7 @@
util = new Round2EchoStructArrayClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseStructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -216,8 +205,7 @@
util = new Round2EchoVoidClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseVoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -226,14 +214,14 @@
* operation echoBase64
*/
public void testR2BaseEchoBase64() throws AxisFault {
- url = "http://soapclient.com/interop/sqldatainterop.wsdl";
+ // url = "http://soapclient.com/interop/sqldatainterop.wsdl";
+ url = "http://127.0.0.1:8080/interop/sqldatainterop.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoBase64ClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseBase64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -248,8 +236,7 @@
util = new Round2EchoDateClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseDateRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
@@ -265,8 +252,7 @@
util = new Round2EchoHexBinaryClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseHexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -281,8 +267,7 @@
util = new Round2EchoDecimalClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseDecimalRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -297,8 +282,7 @@
util = new Round2EchoBooleanClientUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataBaseBooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -313,8 +297,7 @@
util = new GroupbEchoStructAsSimpleTypesUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupbStructAsSimpleTypesRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -329,8 +312,7 @@
util = new GroupbEchoSimpleTypesAsStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupbSimpletypesAsStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -345,8 +327,7 @@
util = new GroupbEcho2DStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupb2DStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -361,8 +342,7 @@
util = new GroupbEchoNestedStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupbNestedStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -377,8 +357,7 @@
util = new GroupbEchoNestedArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupbNestedArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -393,8 +372,7 @@
util = new GroupcEchoStringUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcEchoStringRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -409,8 +387,7 @@
util = new GroupcIntergerUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcIntergerRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -425,8 +402,7 @@
util = new GroupcStringArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcStringArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -441,8 +417,7 @@
util = new GroupcIntegerArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcIntegerArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -457,8 +432,7 @@
util = new GroupcFloatUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcFloatRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -473,8 +447,7 @@
util = new GroupcFloatArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcFloatArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -489,8 +462,7 @@
util = new GroupcStructUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcStructRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -505,8 +477,7 @@
util = new GroupcStructArrayUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcStructArrayRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -521,8 +492,7 @@
util = new GroupcVoidUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcVoidRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -537,8 +507,7 @@
util = new GroupcBase64Util();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcBase64Res.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -553,8 +522,7 @@
util = new GroupcHexBinaryUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcHexBinaryRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
/**
@@ -569,8 +537,7 @@
util = new GroupcBooleanUtil();
retEnv = SunRound2Client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "SqlDataGroupcBooleanRes.xml";
- results = compare(retEnv, tempPath);
- assertTrue(results);
+ compareXML(retEnv, tempPath);
}
}