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 de...@apache.org on 2005/09/15 14:25:50 UTC
svn commit: r289221 [2/4] - in
/webservices/axis2/trunk/java/modules/integration:
itest-resources/interopt/whitemesa/round1/
itest-resources/interopt/whitemesa/round2/SOAP12/
itest/org/apache/axis2/interopt/whitmesa/round1/
itest/org/apache/axis2/inter...
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_FloatArrayRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_FloatArrayRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_FloatArrayRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_FloatArrayRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,12 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoFloatArrayResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return SOAP-ENC:arraySize="3" SOAP-ENC:itemType="nsa:float" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:nsa="http://www.w3.org/2001/XMLSchema">
+ <item>45.76876</item>
+ <item>43.454</item>
+ <item>2523.542</item>
+ </return>
+ </m:echoFloatArrayResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_FloatRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_FloatRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_FloatRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_FloatRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,8 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoFloatResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>50.25</return>
+ </m:echoFloatResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_HexBinaryRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_HexBinaryRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_HexBinaryRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_HexBinaryRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,8 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoHexBinaryResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>AAABBAAE</return>
+ </m:echoHexBinaryResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_IntegerArrayRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_IntegerArrayRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_IntegerArrayRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_IntegerArrayRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,12 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoIntegerArrayResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return SOAP-ENC:arraySize="3" SOAP-ENC:itemType="nsa:int" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:nsa="http://www.w3.org/2001/XMLSchema">
+ <item>451</item>
+ <item>425</item>
+ <item>2523</item>
+ </return>
+ </m:echoIntegerArrayResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_IntegerRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_IntegerRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_IntegerRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_IntegerRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,8 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoIntegerResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>52</return>
+ </m:echoIntegerResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StringArrayRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StringArrayRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StringArrayRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StringArrayRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,12 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoStringArrayResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return SOAP-ENC:arraySize="3" SOAP-ENC:itemType="nsa:string" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:nsa="http://www.w3.org/2001/XMLSchema">
+ <item>Apache Axis2</item>
+ <item>Lanka Software Foundation</item>
+ <item>www.opensource.lk</item>
+ </return>
+ </m:echoStringArrayResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StringRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StringRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StringRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StringRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,8 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>String Argument</return>
+ </m:echoStringResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StructArrayRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StructArrayRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StructArrayRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StructArrayRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,24 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return SOAP-ENC:arraySize="3" SOAP-ENC:itemType="nsa:SOAPStruct" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:nsa="http://soapinterop.org/xsd">
+ <item>
+ <varString>strss fdfing1</varString>
+ <varInt>25</varInt>
+ <varFloat>25.23</varFloat>
+ </item>
+ <item>
+ <varString>strss fdfing1</varString>
+ <varInt>25</varInt>
+ <varFloat>25.23</varFloat>
+ </item>
+ <item>
+ <varString>strss fdfing1</varString>
+ <varInt>25</varInt>
+ <varFloat>25.23</varFloat>
+ </item>
+ </return>
+ </m:echoStructArrayResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StructRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StructRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StructRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_StructRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,12 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>
+ <varString>strss fdfing1</varString>
+ <varInt>25</varInt>
+ <varFloat>25.23</varFloat>
+ </return>
+ </m:echoStructResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_VoidRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_VoidRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_VoidRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMR2_S12_VoidRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,5 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Body>
+ <m:echoVoidResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/" />
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcBase64Res.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcBase64Res.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcBase64Res.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcBase64Res.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,16 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoBase64Response SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>SGVsbG8gV29ybGQ=</return>
+ </m:echoBase64Response>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcBooleanRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcBooleanRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcBooleanRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcBooleanRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,16 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>852</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoBooleanResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>1</return>
+ </m:echoBooleanResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcEchoStringRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcEchoStringRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcEchoStringRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcEchoStringRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,16 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>Apache Software Foundation</return>
+ </m:echoStringResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcFloatArrayRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcFloatArrayRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcFloatArrayRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcFloatArrayRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,20 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoFloatArrayResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return SOAP-ENC:arraySize="3" SOAP-ENC:itemType="nsa:float" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:nsa="http://www.w3.org/2001/XMLSchema">
+ <item>45.76876</item>
+ <item>43.454</item>
+ <item>2523.542</item>
+ </return>
+ </m:echoFloatArrayResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcFloatRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcFloatRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcFloatRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcFloatRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,16 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoFloatResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>50.25</return>
+ </m:echoFloatResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcHexBinaryRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcHexBinaryRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcHexBinaryRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcHexBinaryRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,16 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>852</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoHexBinaryResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>41394644363445313243</return>
+ </m:echoHexBinaryResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcIntegerArrayRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcIntegerArrayRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcIntegerArrayRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcIntegerArrayRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,20 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoIntegerArrayResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return SOAP-ENC:arraySize="3" SOAP-ENC:itemType="nsa:int" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:nsa="http://www.w3.org/2001/XMLSchema">
+ <item>451</item>
+ <item>425</item>
+ <item>2523</item>
+ </return>
+ </m:echoIntegerArrayResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcIntergerRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcIntergerRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcIntergerRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcIntergerRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,16 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoIntegerResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>456</return>
+ </m:echoIntegerResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStringArrayRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStringArrayRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStringArrayRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStringArrayRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,20 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoStringArrayResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return SOAP-ENC:arraySize="3" SOAP-ENC:itemType="nsa:string" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:nsa="http://www.w3.org/2001/XMLSchema">
+ <item>Apache Axis2</item>
+ <item>Lanka Software Foundation</item>
+ <item>www.opensource.lk</item>
+ </return>
+ </m:echoStringArrayResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStructArrayRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStructArrayRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStructArrayRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStructArrayRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,32 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return SOAP-ENC:arraySize="3" SOAP-ENC:itemType="nsa:SOAPStruct" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:nsa="http://soapinterop.org/xsd">
+ <item>
+ <varString>strss fdfing1</varString>
+ <varInt>25</varInt>
+ <varFloat>25.23</varFloat>
+ </item>
+ <item>
+ <varString>strss fdfing1</varString>
+ <varInt>25</varInt>
+ <varFloat>25.23</varFloat>
+ </item>
+ <item>
+ <varString>strss fdfing1</varString>
+ <varInt>25</varInt>
+ <varFloat>25.23</varFloat>
+ </item>
+ </return>
+ </m:echoStructArrayResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStructRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStructRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStructRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcStructRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,20 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/">
+ <SOAP-RPC:result xmlns:SOAP-RPC="http://www.w3.org/2003/05/soap-rpc">return</SOAP-RPC:result>
+ <return>
+ <varString>strss fdfing1</varString>
+ <varInt>25</varInt>
+ <varFloat>25.23</varFloat>
+ </return>
+ </m:echoStructResponse>
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Added: webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcVoidRes.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcVoidRes.xml?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcVoidRes.xml (added)
+++ webservices/axis2/trunk/java/modules/integration/itest-resources/interopt/whitemesa/round2/SOAP12/WMRound2Soap12GroupcVoidRes.xml Thu Sep 15 05:24:18 2005
@@ -0,0 +1,13 @@
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
+ <SOAP-ENV:Header>
+ <h:echoMeStringResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">string</h:echoMeStringResponse>
+ <h:echoMeStructResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:h="http://soapinterop.org/echoheader/">
+ <varString>string</varString>
+ <varInt>150</varInt>
+ <varFloat>456.321</varFloat>
+ </h:echoMeStructResponse>
+ </SOAP-ENV:Header>
+ <SOAP-ENV:Body>
+ <m:echoVoidResponse SOAP-ENV:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://soapinterop.org/" />
+ </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
Modified: webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round1/Round1InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round1/Round1InteropTest.java?rev=289221&r1=289220&r2=289221&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round1/Round1InteropTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round1/Round1InteropTest.java Thu Sep 15 05:24:18 2005
@@ -6,8 +6,6 @@
import org.apache.axis2.interopt.whitemesa.WhiteMesaIneterop;
import org.apache.axis2.AxisFault;
-import java.io.File;
-
/*
* Copyright 2004,2005 The Apache Software Foundation.
*
@@ -35,7 +33,6 @@
SOAPEnvelope retEnv = null;
boolean success = false;
- File file = null;
String url = "http://soapinterop.java.sun.com:80/round2/base";
String soapAction = "http://soapinterop.org/";
String resFilePath = "interopt/whitemesa/round1/";
@@ -44,9 +41,12 @@
Round1Client client = null;
boolean result = false;
+ public void setUp(){
+ client = new Round1Client();
+ }
public void testEchoString() throws AxisFault {
- client = new Round1Client();
+
url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
soapAction = "urn:soapinterop";
util = new Round1StringUtil();
@@ -57,7 +57,6 @@
}
public void testEchoVoid() throws AxisFault {
- client = new Round1Client();
url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
soapAction = "urn:soapinterop";
util = new Round1VoidUtil();
@@ -68,7 +67,6 @@
}
public void testEchoStringArray() throws AxisFault {
- client = new Round1Client();
url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
soapAction = "urn:soapinterop";
util = new Round1StringArrayUtil();
@@ -79,7 +77,6 @@
}
public void testInteger() throws AxisFault {
- client = new Round1Client();
url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
soapAction = "urn:soapinterop";
util = new Round1IntegerUtil();
@@ -89,19 +86,17 @@
assertTrue(result);
}
-// public void testIntegerArray() throws AxisFault {
-// client = new Round1Client();
-// url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
-// soapAction = "urn:soapinterop";
-// util = new Round1IntArrayUtil();
-// retEnv = client.sendMsg(util, url, soapAction);
-// tempPath = resFilePath + "Round1IntArrayRes.xml";
-// result = compare(retEnv, tempPath);
-// assertTrue(result);
-// }
+ public void testIntegerArray() throws AxisFault {
+ url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
+ soapAction = "urn:soapinterop";
+ util = new Round1IntArrayUtil();
+ retEnv = client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "Round1IntArrayRes.xml";
+ result = compare(retEnv, tempPath);
+ assertTrue(result);
+ }
public void testEchoFloat() throws AxisFault {
- client = new Round1Client();
url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
soapAction = "urn:soapinterop";
util = new Round1FloatUtil();
@@ -112,19 +107,17 @@
}
-// public void testEchoFloatArray() throws AxisFault {
-// client = new Round1Client();
-// url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
-// soapAction = "urn:soapinterop";
-// util = new Round1FloatArrayUtil();
-// retEnv = client.sendMsg(util, url, soapAction);
-// tempPath = resFilePath + "Round1FloatArrayRes.xml";
-// result = compare(retEnv, tempPath);
-// assertTrue(result);
-// }
+ public void testEchoFloatArray() throws AxisFault {
+ url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
+ soapAction = "urn:soapinterop";
+ util = new Round1FloatArrayUtil();
+ retEnv = client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "Round1FloatArrayRes.xml";
+ result = compare(retEnv, tempPath);
+ assertTrue(result);
+ }
public void testEchoStruct() throws AxisFault {
- client = new Round1Client();
url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
soapAction = "urn:soapinterop";
util = new Round1StructUtil();
@@ -134,16 +127,15 @@
assertTrue(result);
}
-// public void testEchoStructArray() throws AxisFault {
-// client = new Round1Client();
-// url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
-// soapAction = "urn:soapinterop";
-// util = new Round1StructArrayUtil();
-// retEnv = client.sendMsg(util, url, soapAction);
-// tempPath = resFilePath + "Round1StructArrayRes.xml";
-// result = compare(retEnv, tempPath);
-// assertTrue(result);
-// }
+ public void testEchoStructArray() throws AxisFault {
+ url = "http://easysoap.sourceforge.net/cgi-bin/interopserver";
+ soapAction = "urn:soapinterop";
+ util = new Round1StructArrayUtil();
+ retEnv = client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "Round1StructArrayRes.xml";
+ result = compare(retEnv, tempPath);
+ assertTrue(result);
+ }
// private static boolean compare(SOAPEnvelope retEnv, String filePath) throws AxisFault {
// boolean ok;
Added: webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round2/Soap12/ASPNetRound2Soap12Test.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round2/Soap12/ASPNetRound2Soap12Test.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round2/Soap12/ASPNetRound2Soap12Test.java (added)
+++ webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round2/Soap12/ASPNetRound2Soap12Test.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,406 @@
+package org.apache.axis2.interopt.whitmesa.round2.Soap12;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.interopt.whitemesa.round2.util.*;
+import org.apache.axis2.interopt.whitemesa.round2.util.soap12.*;
+import org.apache.axis2.interopt.whitemesa.round2.SunRound2Client;
+import org.apache.axis2.interopt.whitemesa.WhiteMesaIneterop;
+import org.apache.axis2.AxisFault;
+import java.io.*;
+
+//import org.apache.axis2.interopt.whitemesa.round2.util.soap12
+
+/*
+* 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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+/**
+ * class
+ * To test Interoperability Axis2 clients vs sun Server, Round2
+ * WSDLs:-
+ * "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
+ */
+
+public class ASPNetRound2Soap12Test extends WhiteMesaIneterop {
+
+ SOAPEnvelope retEnv = null;
+ boolean success = false;
+ File file = null;
+ String url = "";
+ String soapAction = "";
+ String resFilePath = "interopt/whitemesa/round2/SOAP12/";
+ String tempPath = "";
+ SunRound2ClientUtil util;
+ private boolean results = false;
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoString
+ */
+ public void testR2BaseEchoString() throws AxisFault {
+ url = "http://www.mssoapinterop.org/asmx/simple.asmx";
+ soapAction = "http://soapinterop.org/";
+
+ util = new Round2Soap12StringUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "ASPNetR2_S12_StringRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoStringArray
+ */
+ public void testR2BaseEchoStringArray() throws AxisFault {
+ url = "http://www.mssoapinterop.org/asmx/simple.asmx";
+ soapAction = "http://soapinterop.org/";
+
+ util = new Round2Soap12StringArrayUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "ASPNetR2_S12_StringArrayRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoInteger
+ */
+ public void testR2BaseEchoInteger() throws AxisFault {
+ url = "http://www.mssoapinterop.org/asmx/simple.asmx";
+ soapAction = "http://soapinterop.org/";
+
+ util = new Round2Soap12IntegerUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "ASPNetR2_S12_IntegerRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoIntegerArray
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoFloat
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoFloatArray
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoStruct
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoStructArray
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoVoid
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoBase64
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoBase64
+ */
+ 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);
+ }
+
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoHexBinary
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoDecimal
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoBoolean
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group B
+ * operation echoStructAsSimpleTypes
+ */
+ public void testR2GBEchoStructAsSimpleTypes() throws AxisFault {
+ url = "http://www.mssoapinterop.org/asmx/simpleB.asmx";
+ soapAction = "http://soapinterop.org/";
+
+ util = new GroupbSoap12EchoStructAsSimpleTypesUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "ASPNetR2Gb_S12_StructAsSimpleTypesRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group B
+ * operation echoSimpleTypesAsStruct
+ */
+ public void testR2GBEchoSimpleTypesAsStruct() throws AxisFault {
+ url = "http://www.mssoapinterop.org/asmx/simpleB.asmx";
+ soapAction = "http://soapinterop.org/";
+
+ util = new GroupbSoap12EchoSimpleTypesAsStructUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "ASPNetR2Gb_S12_SimpleTypesAsStructRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group B
+ * operation echo2DStringArray
+ */
+ public void testR2GBEcho2DStringArray() throws AxisFault {
+ url = "http://www.mssoapinterop.org/asmx/simpleB.asmx";
+ soapAction = "http://soapinterop.org/";
+
+ util = new GroupbSoap12Echo2DStringArrayUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "ASPNetR2Gb_S12_2DStringArrayRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group B
+ * operation echoNestedStruct
+ */
+ public void testR2GBEchoNestedStruct() throws AxisFault {
+ url = "http://www.mssoapinterop.org/asmx/simpleB.asmx";
+ soapAction = "http://soapinterop.org/";
+
+ util = new GroupbSoap12EchoNestedStructUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "ASPNetR2Gb_S12_NestedStructRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group B
+ * operation echoNestedArray
+ */
+ public void testR2GBEchoNestedArray() throws AxisFault {
+ url = "http://www.mssoapinterop.org/asmx/simpleB.asmx";
+ soapAction = "http://soapinterop.org/";
+
+ util = new GroupbSoap12EchoNestedArrayUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "ASPNetR2Gb_S12_NestedArrayRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * 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);
+// }
+
+// private static boolean compare(SOAPEnvelope retEnv, String filePath) throws AxisFault {
+//
+// boolean ok = false;
+// try {
+// if (retEnv != null) {
+// SOAPBody body = retEnv.getBody();
+// if (!body.hasFault()) {
+// //OMElement firstChild = (OMElement) body.getFirstElement();
+// InputStream stream = GSoapRound2Soap12InteropTest.class.getClassLoader().getResourceAsStream(filePath);
+// XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(stream);
+// OMXMLParserWrapper builder = new StAXSOAPModelBuilder(parser, null);
+// SOAPEnvelope refEnv = (SOAPEnvelope) builder.getDocumentElement();
+// //OMElement refNode = (OMElement) resEnv.getBody().getFirstElement();
+// XMLComparator comparator = new XMLComparator();
+// ok = comparator.compare(retEnv, refEnv);
+// } else
+// return false;
+// } else
+// return false;
+//
+// } catch (Exception e) {
+// throw new AxisFault(e); //To change body of catch statement use File | Settings | File Templates.
+// }
+// return ok;
+// }
+}
+
Added: webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round2/Soap12/GSoapRound2Soap12InteropTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round2/Soap12/GSoapRound2Soap12InteropTest.java?rev=289221&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round2/Soap12/GSoapRound2Soap12InteropTest.java (added)
+++ webservices/axis2/trunk/java/modules/integration/itest/org/apache/axis2/interopt/whitmesa/round2/Soap12/GSoapRound2Soap12InteropTest.java Thu Sep 15 05:24:18 2005
@@ -0,0 +1,411 @@
+package org.apache.axis2.interopt.whitmesa.round2.Soap12;
+
+import org.apache.axis2.soap.SOAPEnvelope;
+import org.apache.axis2.interopt.whitemesa.round2.util.*;
+import org.apache.axis2.interopt.whitemesa.round2.util.soap12.*;
+import org.apache.axis2.interopt.whitemesa.round2.SunRound2Client;
+import org.apache.axis2.interopt.whitemesa.WhiteMesaIneterop;
+import org.apache.axis2.AxisFault;
+import java.io.*;
+
+
+/*
+* 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.
+*
+*
+*/
+
+/**
+ * Author: Gayan Asanka
+ * Date: Aug 23, 2005
+ * Time: 4:27:20 PM
+ */
+
+/**
+ * class
+ * To test Interoperability Axis2 clients vs sun Server, Round2
+ * WSDLs:-
+ * "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
+ */
+
+public class GSoapRound2Soap12InteropTest extends WhiteMesaIneterop {
+
+ SOAPEnvelope retEnv = null;
+ boolean success = false;
+ File file = null;
+ String url = "";
+ String soapAction = "";
+ String resFilePath = "interopt/whitemesa/round2/SOAP12/";
+ String tempPath = "";
+ SunRound2ClientUtil util;
+ private boolean results = false;
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoString
+ */
+ public void testR2BaseEchoString() throws AxisFault {
+ url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
+ soapAction = "http://soapinterop.org/";
+
+ util = new Round2Soap12StringUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "GSoapR2_S12_StringRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoStringArray
+ */
+ public void testR2BaseEchoStringArray() throws AxisFault {
+ url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
+ soapAction = "http://soapinterop.org/";
+
+ util = new Round2Soap12StringArrayUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "GSoapR2_S12_StringArrayRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoInteger
+ */
+ public void testR2BaseEchoInteger() throws AxisFault {
+ url = "http://websrv.cs.fsu.edu/~engelen/interop2.cgi";
+ soapAction = "http://soapinterop.org/";
+
+ util = new Round2Soap12IntegerUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "GSoapR2_S12_IntegerRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoIntegerArray
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoFloat
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoFloatArray
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoStruct
+ */
+ //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);
+// }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoStructArray
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoVoid
+ */
+ //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);
+// }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoBase64
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoBase64
+ */
+ 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);
+ }
+
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoHexBinary
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoDecimal
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group Base
+ * operation echoBoolean
+ */
+ 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);
+ }
+
+ /**
+ * Round2
+ * Group B
+ * operation echoStructAsSimpleTypes
+ */
+ //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/";
+//
+// util = new GroupbSoap12EchoStructAsSimpleTypesUtil();
+// retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+// tempPath = resFilePath + "GSoapR2Gb_S12_StructAsSimpleTypesRes.xml";
+// results = compare(retEnv, tempPath);
+// assertTrue(results);
+// }
+
+ /**
+ * Round2
+ * Group B
+ * operation echoSimpleTypesAsStruct
+ */
+// //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/";
+//
+// util = new GroupbSoap12EchoSimpleTypesAsStructUtil();
+// retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+// tempPath = resFilePath + "GSoapR2Gb_S12_SimpleTypesAsStructRes.xml";
+// results = compare(retEnv, tempPath);
+// assertTrue(results);
+// }
+
+ /**
+ * Round2
+ * Group B
+ * operation echo2DStringArray
+ */
+ public void testR2GBEcho2DStringArray() throws AxisFault {
+ url = "http://websrv.cs.fsu.edu/~engelen/interop2B.cgi";
+ soapAction = "http://soapinterop.org/";
+
+ util = new GroupbSoap12Echo2DStringArrayUtil();
+ retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+ tempPath = resFilePath + "GSoapR2Gb_S12_2DStringArrayRes.xml";
+ results = compare(retEnv, tempPath);
+ assertTrue(results);
+ }
+
+ /**
+ * Round2
+ * Group B
+ * operation echoNestedStruct
+ */
+ //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/";
+//
+// util = new GroupbSoap12EchoNestedStructUtil();
+// retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+// tempPath = resFilePath + "GSoapR2Gb_S12_NestedStructRes.xml";
+// results = compare(retEnv, tempPath);
+// assertTrue(results);
+// }
+
+ /**
+ * Round2
+ * Group B
+ * operation echoNestedArray
+ */
+ //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/";
+//
+// util = new GroupbSoap12EchoNestedArrayUtil();
+// retEnv = SunRound2Client.sendMsg(util, url, soapAction);
+// tempPath = resFilePath + "GSoapR2Gb_S12_NestedArrayRes.xml";
+// results = compare(retEnv, tempPath);
+// assertTrue(results);
+// }
+
+ /**
+ * 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);
+// }
+
+// private static boolean compare(SOAPEnvelope retEnv, String filePath) throws AxisFault {
+//
+// boolean ok = false;
+// try {
+// if (retEnv != null) {
+// SOAPBody body = retEnv.getBody();
+// if (!body.hasFault()) {
+// //OMElement firstChild = (OMElement) body.getFirstElement();
+// InputStream stream = GSoapRound2Soap12InteropTest.class.getClassLoader().getResourceAsStream(filePath);
+// XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(stream);
+// OMXMLParserWrapper builder = new StAXSOAPModelBuilder(parser, null);
+// SOAPEnvelope refEnv = (SOAPEnvelope) builder.getDocumentElement();
+// //OMElement refNode = (OMElement) resEnv.getBody().getFirstElement();
+// XMLComparator comparator = new XMLComparator();
+// ok = comparator.compare(retEnv, refEnv);
+// } else
+// return false;
+// } else
+// return false;
+//
+// } catch (Exception e) {
+// throw new AxisFault(e); //To change body of catch statement use File | Settings | File Templates.
+// }
+// return ok;
+// }
+}
+