You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by du...@apache.org on 2001/04/22 21:29:13 UTC

cvs commit: xml-axis/java/samples/stock client_deploy.xml testit.cmd testit.sh

dug         01/04/22 12:29:13

  Modified:    java     README
               java/samples/stock client_deploy.xml testit.cmd testit.sh
  Log:
  Minor doc updates
  
  Revision  Changes    Path
  1.4       +9 -27     xml-axis/java/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/README,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- README	2001/02/03 23:12:40	1.3
  +++ README	2001/04/22 19:29:12	1.4
  @@ -2,40 +2,22 @@
   ----------------------------------------------
   (these instructions assume tomcat)
   
  -- Deploy the Admin service
  -  - From the directory you run tomcat from, run:
  -      java org.apache.axis.utils.Admin  samples\xml\init.xml
  +- Deploy Axis in Tomcat
  +  - Add the following section to your conf/server.xml file:
  +    <Context path="/axis" docBase="d:/xml-axis/java/webapps/axis" 
  +             debug ="0" reloadable="true" />
  +    Replace "d:/" with the path to your version of axis
   
  -- Deploy any additional services
  +- Deploy services
     - Two ways to deploy new services:
       1 - From the tomcat directory, run:
             java org.apche.axis.utils.Admin <whatever>.xml
       2 - Once tomcat is running, run (from anywhere/any dir):
             java org.apache.axis.client.AdminClient <whatever>.xml
           
  -  - Look in the samples\xml dir for deployment xml files (deploy.xml is
  -    the one I've been using so far)
  -
  -
  -There are couple of test client's available - right now they're in
  -the axis\client directory - should be moved to the samples dir soon.
  -
  -AdminClient
  -  - Used to deploy/undeploy handlers/chains/services
  -
  -EchoClient:
  -  - Just send the server an xml file and get it back
  -
  -TestClient:
  -  - Allows you to run a service - actually it just allows you to
  -    specify the SOAPAction header line on the command line.  It sends
  -    a static SOAPEnvelope.
  -
  -
  -** Also, look at the samples\stockquote example.  This is a full blown
  -** service in action!
  -
  -
  +There is a sample service in java/samples/stock - this will illustrate
  +how to deploy a service that consists of a chain of handlers on the
  +client and the server.
   
   Format of deployment xml files:
   -------------------------------
  
  
  
  1.3       +3 -6      xml-axis/java/samples/stock/client_deploy.xml
  
  Index: client_deploy.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/stock/client_deploy.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- client_deploy.xml	2001/03/08 13:44:03	1.2
  +++ client_deploy.xml	2001/04/22 19:29:12	1.3
  @@ -1,10 +1,7 @@
   <!-- Use this file to deploy some handlers/chains and services  -->
  -<!-- Two ways to do this:                                       -->
  -<!--   java org.apache.axis.utils.Admin deploy.xml              -->
  -<!--      from the same dir that the Axis engine runs           -->
  -<!-- or                                                         -->
  -<!--   java org.apache.axis.client.AdminClient deploy.xml       -->
  -<!--      after the axis server is running                      -->
  +<!-- on the client.  To do this simply run:                     -->
  +<!--   java org.apache.axis.utils.Admin client_deploy.xml       -->
  +<!--      from the same dir that the Axis client will run in    -->
   <!-- This file will be replaced by WSDD once it's ready         -->
   
   <deploy>
  
  
  
  1.5       +0 -1      xml-axis/java/samples/stock/testit.cmd
  
  Index: testit.cmd
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/stock/testit.cmd,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- testit.cmd	2001/03/31 00:53:08	1.4
  +++ testit.cmd	2001/04/22 19:29:12	1.5
  @@ -1,5 +1,4 @@
   rem this assumes webserver is running on port 8080
  -rem this assumes that the samples/xml/init.xml file has already been deployed
   
   echo First test the StockQuoteService.jws file
   java samples.stock.GetQuote -uuser1 -wpass1 XXX -s/axis/StockQuoteService.jws
  
  
  
  1.5       +0 -1      xml-axis/java/samples/stock/testit.sh
  
  Index: testit.sh
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/stock/testit.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- testit.sh	2001/04/04 06:27:21	1.4
  +++ testit.sh	2001/04/22 19:29:12	1.5
  @@ -1,6 +1,5 @@
   #!/bin/sh
   # this assumes webserver is running on port 8080
  -# this assumes that the samples/xml/init.xml file has already been deployed
   
   echo "Deploy everything first"
   java org.apache.axis.client.AdminClient deploy.xml