axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/test/wsdl/soap12/assertion WhiteMesaSoap12TestSvcTestCase.java
Date Sat, 13 Dec 2003 20:43:02 GMT
dims        2003/12/13 12:43:02

  Modified:    java/test/wsdl/adaptive AdaptiveServiceTestCase.java
               java/test/wsdl/interop5/basetype
                        BaseTypesInteropTestsTestCase.java
               java/test/wsdl/wrapped City_BBBTestCase.java
               java/test/wsdl/interop4/groupH/complexDocLit
                        ComplexDocLitServiceTestCase.java
               java/test/wsdl/echo ComplexEchoServiceTestCase.java
               java/test/wsdl/interop5/complextype
                        ComplexTypeExtensionsServiceTestCase.java
               java/test/wsdl/interop4/groupG/dime/doc
                        DimeDOCInteropTestCase.java
               java/test/wsdl/interop4/groupG/dime/rpc
                        DimeRPCInteropTestCase.java
               java/test/wsdl/wrapped2 EmployeeDatabaseTestCase.java
               java/test/wsdl/esr EsrTestServiceTestCase.java
               java/test/wsdl/extensibility ExtensibilityQueryTestCase.java
               java/test/wsdl/faults FaultServiceTestCase.java
               java/src/org/apache/axis/wsdl/toJava JavaTestCaseWriter.java
               java/test/wsdl/marrays MArrayTestsServiceTestCase.java
               java/test/wsdl/interop4/groupG/mime/doc
                        MimeDOCInteropTestCase.java
               java/test/wsdl/interop4/groupG/mime/rpc
                        MimeRPCInteropTestCase.java
               java/test/wsdl/date MyServiceServiceTestCase.java
               java/test/wsdl/nested Nested2ServiceTestCase.java
               java/test/wsdl/extension PlanWSTestCase.java
               java/test/wsdl/polymorphism
                        PolymorphismTest_ServiceTestCase.java
               java/test/wsdl/ram RamServiceTestCase.java
               java/test/wsdl/rpcParams RpcParamsServiceTestCase.java
               java/test/wsdl/stubheaders StubHeaderServiceTestCase.java
               java/test/wsdl/document TestServiceServiceTestCase.java
               java/test/wsdl/primitiveWrappers
                        TypeWrapper_ServiceTestCase.java
               java/test/wsdl/types VerifyTestCase.java
               java/test/wsdl/soap12/additional
                        WhiteMesaSoap12AddTestSvcTestCase.java
               java/test/wsdl/soap12/assertion
                        WhiteMesaSoap12TestSvcTestCase.java
  Log:
  Adding tests to ensure that runtime generated WSDL's are usable.
  
  Notes:
  - Intentionally breaking the "all-tests"
  
  Revision  Changes    Path
  1.2       +8 -0      ws-axis/java/test/wsdl/adaptive/AdaptiveServiceTestCase.java
  
  Index: AdaptiveServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/adaptive/AdaptiveServiceTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AdaptiveServiceTestCase.java	17 Mar 2003 15:10:18 -0000	1.1
  +++ AdaptiveServiceTestCase.java	13 Dec 2003 20:43:00 -0000	1.2
  @@ -13,6 +13,14 @@
       public AdaptiveServiceTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testAdaptiveWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.adaptive.AdaptiveServiceLocator().getAdaptiveAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.adaptive.AdaptiveServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1AdaptiveGetServiceDescription() throws Exception {
           test.wsdl.adaptive.AdaptiveInterfaceBindingStub binding;
           try {
  
  
  
  1.4       +8 -0      ws-axis/java/test/wsdl/interop5/basetype/BaseTypesInteropTestsTestCase.java
  
  Index: BaseTypesInteropTestsTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/interop5/basetype/BaseTypesInteropTestsTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BaseTypesInteropTestsTestCase.java	2 Mar 2003 06:36:20 -0000	1.3
  +++ BaseTypesInteropTestsTestCase.java	13 Dec 2003 20:43:01 -0000	1.4
  @@ -41,6 +41,14 @@
       public BaseTypesInteropTestsTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testInteropTestsPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1InteropTestsPortEchoDouble() throws Exception {
           test.wsdl.interop5.basetype.InteropTestsExpType binding;
           try {
  
  
  
  1.7       +8 -0      ws-axis/java/test/wsdl/wrapped/City_BBBTestCase.java
  
  Index: City_BBBTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/wrapped/City_BBBTestCase.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- City_BBBTestCase.java	25 Nov 2003 06:07:03 -0000	1.6
  +++ City_BBBTestCase.java	13 Dec 2003 20:43:01 -0000	1.7
  @@ -11,6 +11,14 @@
       public City_BBBTestCase(String name) {
           super(name);
       }
  +
  +    public void testCity_BBBPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.wrapped.City_BBBLocator().getCity_BBBPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.wrapped.City_BBBLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1CityBBBPortGetAttraction() throws Exception {
           City_BBBPortType binding;
           binding = new City_BBBLocator().getCity_BBBPort();
  
  
  
  1.5       +8 -0      ws-axis/java/test/wsdl/interop4/groupH/complexDocLit/ComplexDocLitServiceTestCase.java
  
  Index: ComplexDocLitServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/interop4/groupH/complexDocLit/ComplexDocLitServiceTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ComplexDocLitServiceTestCase.java	1 Mar 2003 01:31:03 -0000	1.4
  +++ ComplexDocLitServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.5
  @@ -29,6 +29,14 @@
               url = new URL(new ComplexDocLitServiceLocator().getComplexDocLitPortAddress());
           }
       }
  +
  +    public void testComplexDocLitPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.interop4.groupH.complexDocLit.ComplexDocLitServiceLocator().getComplexDocLitPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.interop4.groupH.complexDocLit.ComplexDocLitServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1ComplexDocLitPortEchoSOAPStructFault() throws Exception {
           ComplexDocLitPortType binding;
           try {
  
  
  
  1.2       +8 -0      ws-axis/java/test/wsdl/echo/ComplexEchoServiceTestCase.java
  
  Index: ComplexEchoServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/echo/ComplexEchoServiceTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ComplexEchoServiceTestCase.java	26 Jun 2002 21:44:22 -0000	1.1
  +++ ComplexEchoServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.2
  @@ -11,6 +11,14 @@
       public ComplexEchoServiceTestCase(String name) {
           super(name);
       }
  +
  +    public void testComplexEchoServiceWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.echo.ComplexEchoServiceLocator().getComplexEchoServiceAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.echo.ComplexEchoServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1ComplexEchoServiceEcho() {
           test.wsdl.echo.Echo binding;
           try {
  
  
  
  1.4       +8 -0      ws-axis/java/test/wsdl/interop5/complextype/ComplexTypeExtensionsServiceTestCase.java
  
  Index: ComplexTypeExtensionsServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/interop5/complextype/ComplexTypeExtensionsServiceTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ComplexTypeExtensionsServiceTestCase.java	9 Jan 2003 14:42:22 -0000	1.3
  +++ ComplexTypeExtensionsServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.4
  @@ -30,6 +30,14 @@
       public ComplexTypeExtensionsServiceTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testComplexTypeExtensionsPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getComplexTypeExtensionsPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.interop5.complextype.ComplexTypeExtensionsServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1ComplexTypeExtensionsPortEchoBaseType_1() throws Exception {
           test.wsdl.interop5.complextype.ComplexTypeExtensionsPortType binding;
           try {
  
  
  
  1.4       +8 -0      ws-axis/java/test/wsdl/interop4/groupG/dime/doc/DimeDOCInteropTestCase.java
  
  Index: DimeDOCInteropTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/interop4/groupG/dime/doc/DimeDOCInteropTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DimeDOCInteropTestCase.java	2 Jan 2003 20:55:59 -0000	1.3
  +++ DimeDOCInteropTestCase.java	13 Dec 2003 20:43:01 -0000	1.4
  @@ -24,6 +24,14 @@
       public DimeDOCInteropTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testDimeDOCSoapPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.interop4.groupG.dime.doc.DimeDOCInteropLocator().getDimeDOCSoapPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.interop4.groupG.dime.doc.DimeDOCInteropLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       protected void setUp() throws Exception {
           if(url == null) {
               url = new URL(new test.wsdl.interop4.groupG.dime.doc.DimeDOCInteropLocator().getDimeDOCSoapPortAddress());
  
  
  
  1.5       +7 -0      ws-axis/java/test/wsdl/interop4/groupG/dime/rpc/DimeRPCInteropTestCase.java
  
  Index: DimeRPCInteropTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/interop4/groupG/dime/rpc/DimeRPCInteropTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DimeRPCInteropTestCase.java	2 Jan 2003 20:56:00 -0000	1.4
  +++ DimeRPCInteropTestCase.java	13 Dec 2003 20:43:01 -0000	1.5
  @@ -24,6 +24,13 @@
           super(name);
       }
   
  +    public void testDimeRPCSoapPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.interop4.groupG.dime.rpc.DimeRPCInteropLocator().getDimeRPCSoapPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.interop4.groupG.dime.rpc.DimeRPCInteropLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       protected void setUp() throws Exception {
           if(url == null) {
               url = new URL(new test.wsdl.interop4.groupG.dime.rpc.DimeRPCInteropLocator().getDimeRPCSoapPortAddress());
  
  
  
  1.2       +8 -0      ws-axis/java/test/wsdl/wrapped2/EmployeeDatabaseTestCase.java
  
  Index: EmployeeDatabaseTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/wrapped2/EmployeeDatabaseTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- EmployeeDatabaseTestCase.java	27 Oct 2003 14:18:09 -0000	1.1
  +++ EmployeeDatabaseTestCase.java	13 Dec 2003 20:43:01 -0000	1.2
  @@ -11,6 +11,14 @@
       public EmployeeDatabaseTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testEmployeeDatabaseWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.wrapped2.EmployeeDatabaseLocator().getEmployeeDatabaseAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.wrapped2.EmployeeDatabaseLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1EmployeeDatabaseGetEmployeeCount() throws Exception {
           test.wsdl.wrapped2.EmployeeDBBindingStub binding;
           try {
  
  
  
  1.3       +7 -0      ws-axis/java/test/wsdl/esr/EsrTestServiceTestCase.java
  
  Index: EsrTestServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/esr/EsrTestServiceTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EsrTestServiceTestCase.java	26 Sep 2002 11:51:37 -0000	1.2
  +++ EsrTestServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.3
  @@ -16,6 +16,13 @@
           super(name);
       }
   
  +    public void testEsrTestWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.esr.EsrTestServiceLocator().getEsrTestAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.esr.EsrTestServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1EsrTestEsrInOut() {
           // Using WSDL file to make a SOAP call
           try {
  
  
  
  1.18      +8 -0      ws-axis/java/test/wsdl/extensibility/ExtensibilityQueryTestCase.java
  
  Index: ExtensibilityQueryTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/extensibility/ExtensibilityQueryTestCase.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ExtensibilityQueryTestCase.java	27 Jun 2003 02:15:44 -0000	1.17
  +++ ExtensibilityQueryTestCase.java	13 Dec 2003 20:43:01 -0000	1.18
  @@ -27,6 +27,14 @@
       public ExtensibilityQueryTestCase(String name) {
           super(name);
       }
  +
  +    public void testExtensibilityQueryPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.extensibility.ExtensibilityQueryLocator().getExtensibilityQueryPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.extensibility.ExtensibilityQueryLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void testQuery() {
           ExtensibilityQueryPortType binding;
           try {
  
  
  
  1.8       +7 -0      ws-axis/java/test/wsdl/faults/FaultServiceTestCase.java
  
  Index: FaultServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/faults/FaultServiceTestCase.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FaultServiceTestCase.java	11 Dec 2002 22:40:20 -0000	1.7
  +++ FaultServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.8
  @@ -15,6 +15,13 @@
           super(name);
       }
   
  +    public void testFaultServiceWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.faults.FaultServiceLocator().getFaultServiceAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.faults.FaultServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public static void main(String[] args) throws Exception {
           FaultServiceTestCase tester = new FaultServiceTestCase("tester");
           tester.testFaultServiceGetQuote();
  
  
  
  1.54      +13 -1     ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java
  
  Index: JavaTestCaseWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- JavaTestCaseWriter.java	12 Dec 2003 20:34:29 -0000	1.53
  +++ JavaTestCaseWriter.java	13 Dec 2003 20:43:01 -0000	1.54
  @@ -72,6 +72,7 @@
   import javax.xml.rpc.holders.BooleanHolder;
   import java.io.IOException;
   import java.io.PrintWriter;
  +import java.io.FileOutputStream;
   import java.util.Iterator;
   import java.util.Map;
   
  @@ -162,7 +163,18 @@
               pw.println("        assertTrue(service != null);");
               pw.println("    }");
               pw.println("");
  -    
  +
  +            java.io.PrintWriter pw2 = new java.io.PrintWriter(new FileOutputStream("tests.txt",true));
  +            pw2.println("=============== TEST CASE for " + sEntry.getName() + "TestCase"
+ " =======================");
  +            pw2.println("    public void test"+portName+"WSDL() throws Exception {");
  +            pw2.println("        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();");
  +            pw2.println("        java.net.URL url = new java.net.URL(new " + sEntry.getName()
+ "Locator" + "().get" + portName + "Address() + \"?WSDL\");");
  +            pw2.println("        javax.xml.rpc.Service service = serviceFactory.createService(url,
new " + sEntry.getName() + "Locator().getServiceName());");
  +            pw2.println("        assertTrue(service != null);");
  +            pw2.println("    }");
  +            pw2.println("");
  +            pw2.close();
  +            
               PortType portType = binding.getPortType();
   
               writeComment(pw, p.getDocumentationElement());
  
  
  
  1.9       +7 -0      ws-axis/java/test/wsdl/marrays/MArrayTestsServiceTestCase.java
  
  Index: MArrayTestsServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/marrays/MArrayTestsServiceTestCase.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- MArrayTestsServiceTestCase.java	4 Apr 2002 22:29:06 -0000	1.8
  +++ MArrayTestsServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.9
  @@ -15,6 +15,13 @@
           super(name);
       }
   
  +    public void testMArrayTestsWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.marrays.MArrayTestsServiceLocator().getMArrayTestsAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.marrays.MArrayTestsServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void testMArrayTests() {
           test.wsdl.marrays.MArrayTests binding;
           try {
  
  
  
  1.3       +7 -0      ws-axis/java/test/wsdl/interop4/groupG/mime/doc/MimeDOCInteropTestCase.java
  
  Index: MimeDOCInteropTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/interop4/groupG/mime/doc/MimeDOCInteropTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MimeDOCInteropTestCase.java	2 Jan 2003 19:26:14 -0000	1.2
  +++ MimeDOCInteropTestCase.java	13 Dec 2003 20:43:01 -0000	1.3
  @@ -17,6 +17,13 @@
           super(name);
       }
   
  +    public void testMimeDOCSoapPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.interop4.groupG.mime.doc.MimeDOCInteropLocator().getMimeDOCSoapPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.interop4.groupG.mime.doc.MimeDOCInteropLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       protected void setUp() throws Exception {
           if(url == null) {
               url = new URL(new test.wsdl.interop4.groupG.mime.doc.MimeDOCInteropLocator().getMimeDOCSoapPortAddress());
  
  
  
  1.5       +7 -0      ws-axis/java/test/wsdl/interop4/groupG/mime/rpc/MimeRPCInteropTestCase.java
  
  Index: MimeRPCInteropTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/interop4/groupG/mime/rpc/MimeRPCInteropTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MimeRPCInteropTestCase.java	30 Dec 2002 14:36:45 -0000	1.4
  +++ MimeRPCInteropTestCase.java	13 Dec 2003 20:43:01 -0000	1.5
  @@ -17,6 +17,13 @@
           super(name);
       }
   
  +    public void testMimeRPCSoapPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.interop4.groupG.mime.rpc.MimeRPCInteropLocator().getMimeRPCSoapPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.interop4.groupG.mime.rpc.MimeRPCInteropLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       protected void setUp() throws Exception {
           if(url == null) {
               url = new URL(new test.wsdl.interop4.groupG.mime.rpc.MimeRPCInteropLocator().getMimeRPCSoapPortAddress());
  
  
  
  1.2       +8 -0      ws-axis/java/test/wsdl/date/MyServiceServiceTestCase.java
  
  Index: MyServiceServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/date/MyServiceServiceTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MyServiceServiceTestCase.java	8 Dec 2003 01:23:10 -0000	1.1
  +++ MyServiceServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.2
  @@ -11,6 +11,14 @@
       public MyServiceServiceTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testtestdateWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.date.MyServiceServiceLocator().gettestdateAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.date.MyServiceServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1testdateGetInfo() throws Exception {
           test.wsdl.date.TestdateSoapBindingStub binding;
           try {
  
  
  
  1.10      +8 -0      ws-axis/java/test/wsdl/nested/Nested2ServiceTestCase.java
  
  Index: Nested2ServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/nested/Nested2ServiceTestCase.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Nested2ServiceTestCase.java	1 Mar 2003 01:31:03 -0000	1.9
  +++ Nested2ServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.10
  @@ -14,6 +14,14 @@
       public Nested2ServiceTestCase(String name) {
           super(name);
       }
  +
  +    public void testNestedWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.nested.Nested2ServiceLocator().getNestedAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.nested.Nested2ServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1NestedNestedSvc2() {
           test.wsdl.nested.Nested2PortType binding;
           try {
  
  
  
  1.2       +8 -0      ws-axis/java/test/wsdl/extension/PlanWSTestCase.java
  
  Index: PlanWSTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/extension/PlanWSTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PlanWSTestCase.java	5 Mar 2003 13:59:07 -0000	1.1
  +++ PlanWSTestCase.java	13 Dec 2003 20:43:01 -0000	1.2
  @@ -11,6 +11,14 @@
       public PlanWSTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testPlanWSSoapWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.extension.PlanWSLocator().getPlanWSSoapAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.extension.PlanWSLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1PlanWSSoapGetPlan() throws Exception {
           test.wsdl.extension.PlanWSSoapStub binding;
           try {
  
  
  
  1.3       +8 -0      ws-axis/java/test/wsdl/polymorphism/PolymorphismTest_ServiceTestCase.java
  
  Index: PolymorphismTest_ServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/polymorphism/PolymorphismTest_ServiceTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PolymorphismTest_ServiceTestCase.java	22 Jul 2002 19:09:04 -0000	1.2
  +++ PolymorphismTest_ServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.3
  @@ -11,6 +11,14 @@
       public PolymorphismTest_ServiceTestCase(String name) {
           super(name);
       }
  +
  +    public void testPolymorphismTestWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.polymorphism.PolymorphismTest_ServiceLocator().getPolymorphismTestAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.polymorphism.PolymorphismTest_ServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1PolymorphismTestGetBAsA() {
           test.wsdl.polymorphism.PolymorphismTest_Port binding;
           try {
  
  
  
  1.3       +8 -0      ws-axis/java/test/wsdl/ram/RamServiceTestCase.java
  
  Index: RamServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/ram/RamServiceTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RamServiceTestCase.java	25 Jul 2002 16:14:12 -0000	1.2
  +++ RamServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.3
  @@ -11,6 +11,14 @@
       public RamServiceTestCase(String name) {
           super(name);
       }
  +
  +    public void testRamWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.ram.RamServiceLocator().getRamAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.ram.RamServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1RamValidate() {
           Ram binding;
           try {
  
  
  
  1.2       +7 -0      ws-axis/java/test/wsdl/rpcParams/RpcParamsServiceTestCase.java
  
  Index: RpcParamsServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/rpcParams/RpcParamsServiceTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RpcParamsServiceTestCase.java	9 Jul 2003 18:50:22 -0000	1.1
  +++ RpcParamsServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.2
  @@ -16,6 +16,13 @@
           super(name);
       }
   
  +    public void testRpcParamsWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.rpcParams.RpcParamsServiceLocator().getRpcParamsAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.rpcParams.RpcParamsServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       /**
        * Send parameters in the order that they are specified in
        * the wsdl. Also omits null parameters.
  
  
  
  1.2       +8 -0      ws-axis/java/test/wsdl/stubheaders/StubHeaderServiceTestCase.java
  
  Index: StubHeaderServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/stubheaders/StubHeaderServiceTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StubHeaderServiceTestCase.java	7 Aug 2003 21:38:22 -0000	1.1
  +++ StubHeaderServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.2
  @@ -13,6 +13,14 @@
       public StubHeaderServiceTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testStubHeaderServiceWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.stubheaders.StubHeaderServiceLocator().getStubHeaderServiceAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.stubheaders.StubHeaderServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1StubHeaderServiceEcho() throws Exception {
           StubHeaderStub binding;
           try {
  
  
  
  1.2       +8 -0      ws-axis/java/test/wsdl/document/TestServiceServiceTestCase.java
  
  Index: TestServiceServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/document/TestServiceServiceTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestServiceServiceTestCase.java	18 Mar 2003 16:50:38 -0000	1.1
  +++ TestServiceServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.2
  @@ -15,6 +15,14 @@
       public TestServiceServiceTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testDocumentTestWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.document.TestServiceServiceLocator().getDocumentTestAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.document.TestServiceServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1DocumentTestGetElement() throws Exception {
           test.wsdl.document.DocumentTestSoapBindingStub binding;
           try {
  
  
  
  1.2       +8 -0      ws-axis/java/test/wsdl/primitiveWrappers/TypeWrapper_ServiceTestCase.java
  
  Index: TypeWrapper_ServiceTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/primitiveWrappers/TypeWrapper_ServiceTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TypeWrapper_ServiceTestCase.java	10 Dec 2003 02:52:27 -0000	1.1
  +++ TypeWrapper_ServiceTestCase.java	13 Dec 2003 20:43:01 -0000	1.2
  @@ -11,6 +11,14 @@
       public TypeWrapper_ServiceTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testTypeWrapperWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.primitiveWrappers.TypeWrapper_ServiceLocator().getTypeWrapperAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.primitiveWrappers.TypeWrapper_ServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1TypeWrapperTestWrapping() throws Exception {
           test.wsdl.primitiveWrappers.TypeWrapper_BindingStub binding;
           try {
  
  
  
  1.39      +7 -0      ws-axis/java/test/wsdl/types/VerifyTestCase.java
  
  Index: VerifyTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/types/VerifyTestCase.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- VerifyTestCase.java	17 Nov 2003 15:14:02 -0000	1.38
  +++ VerifyTestCase.java	13 Dec 2003 20:43:01 -0000	1.39
  @@ -104,6 +104,13 @@
           super(name);
       }
   
  +    public void testTypeTestWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTestAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void testTypeTest() {
           TypeTest binding;
           try {
  
  
  
  1.11      +28 -0     ws-axis/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java
  
  Index: WhiteMesaSoap12AddTestSvcTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- WhiteMesaSoap12AddTestSvcTestCase.java	2 Mar 2003 06:36:20 -0000	1.10
  +++ WhiteMesaSoap12AddTestSvcTestCase.java	13 Dec 2003 20:43:02 -0000	1.11
  @@ -80,6 +80,34 @@
           super(name);
       }
   
  +    public void testSoap12AddTestDocUpperPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocUpperPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
  +    public void testSoap12AddTestRpcPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestRpcPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
  +    public void testSoap12AddTestDocIntermediaryPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocIntermediaryPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
  +    public void testSoap12AddTestDocPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       protected void setUp() throws Exception {
           if (configFile == null) {
               configFile = System.getProperty("configFile");
  
  
  
  1.5       +15 -0     ws-axis/java/test/wsdl/soap12/assertion/WhiteMesaSoap12TestSvcTestCase.java
  
  Index: WhiteMesaSoap12TestSvcTestCase.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/wsdl/soap12/assertion/WhiteMesaSoap12TestSvcTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- WhiteMesaSoap12TestSvcTestCase.java	7 Feb 2003 18:02:55 -0000	1.4
  +++ WhiteMesaSoap12TestSvcTestCase.java	13 Dec 2003 20:43:02 -0000	1.5
  @@ -34,6 +34,21 @@
       public WhiteMesaSoap12TestSvcTestCase(java.lang.String name) {
           super(name);
       }
  +
  +    public void testSoap12TestDocPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestDocPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
  +    public void testSoap12TestRpcPortWSDL() throws Exception {
  +        javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
  +        java.net.URL url = new java.net.URL(new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getSoap12TestRpcPortAddress()
+ "?WSDL");
  +        javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.soap12.assertion.WhiteMesaSoap12TestSvcLocator().getServiceName());
  +        assertTrue(service != null);
  +    }
  +
       public void test1Soap12TestRpcPortReturnVoid() throws Exception {
           test.wsdl.soap12.assertion.Soap12TestRpcBindingStub binding;
           try {
  
  
  

Mime
View raw message