axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/test/functional TestBidBuySample.java TestEchoSample.java
Date Mon, 26 Nov 2001 01:09:52 GMT
gdaniels    01/11/25 17:09:52

  Modified:    java/samples/echo deploy.wsdd
               java/test/functional TestBidBuySample.java
                        TestEchoSample.java
  Added:       java/samples/bidbuy deploy.wsdd
  Removed:     java/samples/echo deploy.xml
  Log:
  More deploy.xml -> deploy.wsdd work
  
  Revision  Changes    Path
  1.1                  xml-axis/java/samples/bidbuy/deploy.wsdd
  
  Index: deploy.wsdd
  ===================================================================
  <!-- Use this file to deploy some handlers/chains and services  -->
  <!-- Two ways to do this:                                       -->
  <!--   java org.apache.axis.utils.Admin deploy.wsdd             -->
  <!--      from the same dir that the Axis engine runs           -->
  <!-- or                                                         -->
  <!--   java org.apache.axis.client.AdminClient deploy.wsdd      -->
  <!--      after the axis server is running                      -->
  
  <deployment xmlns="http://xml.apache.org/axis/wsdd/"
              xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
              xmlns:bid="http://www.soapinterop.org/Bid"
              xmlns:reg="http://www.soapinterop.org/Registry">
  
    <service name="http://www.soapinterop.org/Bid" provider="java:RPC" >
      <parameter name="className" value="samples.bidbuy.BidService" />
      <parameter name="methodName" value="RequestForQuote SimpleBuy Buy Ping" />
    </service>
  
    <beanMapping qname="bid:PurchaseOrder"
                 languageSpecificType="java:samples.bidbuy.PurchaseOrder"/>
    <beanMapping qname="bid:Address" 
                 languageSpecificType="java:samples.bidbuy.Address"/>
    <beanMapping qname="bid:LineItem"
                 languageSpecificType="java:samples.bidbuy.LineItem"/>
  
    <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
  
    <service name="http://www.soapinterop.org/Registry" provider="java:RPC" >
     <parameter name="className" value="samples.bidbuy.RegistryService" />
     <parameter name="methodName" value="Register Unregister Lookup LookupAsString"/>
    </service>
  
    <beanMapping qname="reg:Service"
                 languageSpecificType="java:samples.bidbuy.Service"/>
  
  </deployment>
  
  
  
  1.3       +2 -2      xml-axis/java/samples/echo/deploy.wsdd
  
  Index: deploy.wsdd
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/echo/deploy.wsdd,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- deploy.wsdd	2001/11/14 16:51:19	1.2
  +++ deploy.wsdd	2001/11/26 01:09:52	1.3
  @@ -1,9 +1,9 @@
   <!-- Use this file to deploy some handlers/chains and services  -->
   <!-- Two ways to do this:                                       -->
  -<!--   java org.apache.axis.utils.Admin deploy.xml              -->
  +<!--   java org.apache.axis.utils.Admin deploy.wsdd              -->
   <!--      from the same dir that the Axis engine runs           -->
   <!-- or                                                         -->
  -<!--   java org.apache.axis.client.http.AdminClient deploy.xml  -->
  +<!--   java org.apache.axis.client.http.AdminClient deploy.wsdd  -->
   <!--      after the axis server is running                      -->
   <!-- This file will be replaced by WSDD once it's ready         -->
   
  
  
  
  1.9       +6 -2      xml-axis/java/test/functional/TestBidBuySample.java
  
  Index: TestBidBuySample.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/functional/TestBidBuySample.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestBidBuySample.java	2001/10/30 16:46:42	1.8
  +++ TestBidBuySample.java	2001/11/26 01:09:52	1.9
  @@ -72,7 +72,7 @@
       }
       
       public void doTestDeploy () throws Exception {
  -        String[] args = { "samples/bidbuy/deploy.xml" };
  +        String[] args = { "samples/bidbuy/deploy.wsdd" };
           AdminClient.main(args);
       }
       
  @@ -96,6 +96,10 @@
               throw new Exception("Fault returned from test: "+e);
           }
       }
  -    
  +
  +    public static void main(String[] args) throws Exception {
  +        TestBidBuySample tester = new TestBidBuySample("test");
  +        tester.testBidBuyService();
  +    }
   }
   
  
  
  
  1.9       +3 -1      xml-axis/java/test/functional/TestEchoSample.java
  
  Index: TestEchoSample.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/functional/TestEchoSample.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestEchoSample.java	2001/10/30 16:46:42	1.8
  +++ TestEchoSample.java	2001/11/26 01:09:52	1.9
  @@ -79,7 +79,9 @@
           category.info("Testing echo interop sample.");
   
           // deploy the echo service
  -        String[] args = {"-l", "local:", "samples/echo/deploy.xml"};
  +        String[] args = {"-l",
  +                         "local:///AdminService",
  +                         "samples/echo/deploy.wsdd"};
           AdminClient.main(args);
   
           // define the tests using JUnit assert facilities
  
  
  

Mime
View raw message