axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ow...@apache.org
Subject cvs commit: xml-axis-wsif/java/test/wsdl ClassLoaderTest.java ClassloaderTest.jar
Date Tue, 09 Jul 2002 11:31:44 GMT
owenb       2002/07/09 04:31:44

  Modified:    java/test/wsdl ClassLoaderTest.java ClassloaderTest.jar
  Log:
  - Added extra test for imports within imports
  
  Revision  Changes    Path
  1.7       +13 -5     xml-axis-wsif/java/test/wsdl/ClassLoaderTest.java
  
  Index: ClassLoaderTest.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/test/wsdl/ClassLoaderTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ClassLoaderTest.java	8 Jul 2002 15:17:12 -0000	1.6
  +++ ClassLoaderTest.java	9 Jul 2002 11:31:44 -0000	1.7
  @@ -94,7 +94,8 @@
       String wsdlLocation7 =
           TestUtilities.getWsdlPath("java\\test\\addressbook")
               + "ImportingAddressBook.wsdl";
  -    String wsdlLocationError = "test/subtest/subtest2/ImportingTestError.wsdl";       
  
  +    String wsdlLocationError = "test/subtest/subtest2/ImportingTestError.wsdl";
  +    String wsdlLocationA = "ImportingTestA.wsdl";              
   
       public ClassLoaderTest(String name) {
           super(name);
  @@ -160,6 +161,13 @@
       	doItWithReader(wsdlLocation2);
       }
   
  +    // wsdl location	= ImportingTestA.wsdl
  +    // import location	= /test/ImportingTest.wsdl
  +    // import location2	= AddressBookTest.wsdl
  +    public void test9() {
  +    	doIt(wsdlLocationA);
  +    }
  +
       // wsdl location	= test/subtest/subtest2/ImportingTestError.wsdl
       // import location	= ../../../../AddressBookTest.wsdl
       public void testError() {
  @@ -172,10 +180,10 @@
               WSIFService service =
                   factory
                       .getService(wsdlLoc, this.getClass().getClassLoader(), null,
  -                // serviceNS
  -        null, // serviceName
  -        "http://wsifservice.addressbook/", // portTypeNS
  -    "AddressBook"); // portTypeName
  +                                // serviceNS
  +                                null, // serviceName
  +                                "http://wsifservice.addressbook/", // portTypeNS
  +                                "AddressBook"); // portTypeName
           } catch (Exception e) {
               System.err.println(
                   "ClassLoaderTest(" + wsdlLoc + ") caught exception " + e);
  
  
  
  1.3       +3 -3      xml-axis-wsif/java/test/wsdl/ClassloaderTest.jar
  
  	<<Binary file>>
  
  

Mime
View raw message