gdaniels 2003/01/09 20:02:13 Modified: java/test/wsdl/dataset DataServiceTestCase.java Log: Data service was hanging earlier tonight, so add a 60-second timeout to the test case for now. Revision Changes Path 1.2 +4 -2 xml-axis/java/test/wsdl/dataset/DataServiceTestCase.java Index: DataServiceTestCase.java =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/dataset/DataServiceTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DataServiceTestCase.java 24 Nov 2002 14:43:58 -0000 1.1 +++ DataServiceTestCase.java 10 Jan 2003 04:02:13 -0000 1.2 @@ -12,9 +12,10 @@ super(name); } public void test1DataServiceSoapGetTitleAuthors() throws Exception { - test.wsdl.dataset.DataServiceSoap binding; + test.wsdl.dataset.DataServiceSoapStub binding; try { - binding = new test.wsdl.dataset.DataServiceLocator().getDataServiceSoap(); + binding = (test.wsdl.dataset.DataServiceSoapStub) + new test.wsdl.dataset.DataServiceLocator().getDataServiceSoap(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) @@ -23,6 +24,7 @@ } assertTrue("binding is null", binding != null); + binding.setTimeout(60000); // Test operation test.wsdl.dataset.GetTitleAuthorsResult value = null; value = binding.getTitleAuthors();