butek 02/02/19 07:37:12 Modified: java/test/wsdl Wsdl2javaTestSuite.xml java/test/wsdl/literal SalesRankNPrice_ServiceTestCase.java java/test/wsdl/roundtrip RoundtripTestServiceTestCase.java Removed: java/test/wsdl/roundtrip Roundtrip.wsdl Log: Two test 'fixes': 1. Commented out the literal test. I didn't remove it just in case the site comes back online. 2. Roundtrip test case sometimes didn't work. It was doing more than it had to. A roundtrip test (Java->WSDL->Java) starts with Java. It can either start with hand-rolled stuff or it can start with Java generated from a WSDL (which is really WSDL->Java->WSDL->Java). The roundtrip test actually did both. I've removed the initial WSDL stuff. (I got help from Brent Ulbricht.) Revision Changes Path 1.73 +2 -12 xml-axis/java/test/wsdl/Wsdl2javaTestSuite.xml Index: Wsdl2javaTestSuite.xml =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/Wsdl2javaTestSuite.xml,v retrieving revision 1.72 retrieving revision 1.73 diff -u -r1.72 -r1.73 --- Wsdl2javaTestSuite.xml 18 Feb 2002 21:25:43 -0000 1.72 +++ Wsdl2javaTestSuite.xml 19 Feb 2002 15:37:12 -0000 1.73 @@ -102,16 +102,6 @@ </wsdl2java> <!-- Roundtrip Test --> - <!-- Bootstrap to generate Java From WSDL to get stubs/skeletons --> - <wsdl2java url="test/wsdl/roundtrip/Roundtrip.wsdl" - output="build/work" - deployscope="session" - skeleton="yes" - noimports="no" - verbose="no" - testcase="no"> - <mapping namespace="http://roundtrip.wsdl.test" package="test.wsdl.roundtrip"/> - </wsdl2java> <!-- To test Java Value Types, copy over the base and subclasses --> <copy todir="${build.dir}/work/test/wsdl/roundtrip" overwrite="yes"> <fileset dir="${test.dir}/wsdl/roundtrip"> @@ -650,8 +640,8 @@ We get this WSDL file from the internet on purpose, file is only for reference. --> - <!-- <wsdl2java url="test/wsdl/literal/SalesRankNPrice.wsdl" --> - <wsdl2java url="http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL" + <!-- <wsdl2java url="http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL" --> + <wsdl2java url="test/wsdl/literal/SalesRankNPrice.wsdl" output="build/work" verbose="no" skeleton="no" 1.5 +4 -0 xml-axis/java/test/wsdl/literal/SalesRankNPrice_ServiceTestCase.java Index: SalesRankNPrice_ServiceTestCase.java =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/literal/SalesRankNPrice_ServiceTestCase.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- SalesRankNPrice_ServiceTestCase.java 5 Feb 2002 16:22:40 -0000 1.4 +++ SalesRankNPrice_ServiceTestCase.java 19 Feb 2002 15:37:12 -0000 1.5 @@ -19,6 +19,7 @@ super(name); } +/* private void printit(String result) { System.out.println("Result: " + result); } @@ -105,8 +106,10 @@ assertTrue("File exist (and it should NOT): " + shouldNotExist[i], !f.exists()); } } +*/ public void testSalesRankNPriceSoap() { +/* // This is the book to look up java.lang.String ISBN = "1861005466"; @@ -142,5 +145,6 @@ printit("Connect failure caused some of SalesRankNPrice_ServiceTestCase to be skipped."); } } +*/ } } 1.2 +2 -2 xml-axis/java/test/wsdl/roundtrip/RoundtripTestServiceTestCase.java Index: RoundtripTestServiceTestCase.java =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/roundtrip/RoundtripTestServiceTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RoundtripTestServiceTestCase.java 12 Feb 2002 22:10:19 -0000 1.1 +++ RoundtripTestServiceTestCase.java 19 Feb 2002 15:37:12 -0000 1.2 @@ -72,7 +72,7 @@ import test.wsdl.roundtrip.StockInvestment; import test.wsdl.roundtrip.PreferredStockInvestment; import test.wsdl.roundtrip.RoundtripPortType; -import test.wsdl.roundtrip.RoundtripTestLocator; +import test.wsdl.roundtrip.RoundtripPortTypeServiceLocator; import test.wsdl.roundtrip.CallOptions; /** @@ -113,7 +113,7 @@ public void setUp() { try { - binding = new RoundtripTestLocator().getRoundtripTest(); + binding = new RoundtripPortTypeServiceLocator().getRoundtripTest(); } catch (ServiceException jre) { fail("JAX-RPC ServiceException caught: " + jre); }