butek       02/04/24 08:00:33

  Modified:    java/samples/attachments README
               java/samples/bidbuy readme
               java/samples/echo readme
               java/samples/encoding readme
               java/samples/jaxrpc README
               java/samples/message readme
               java/samples/misc readme
               java/samples/stock README
  Added:       java/samples/proxy client_deploy.wsdd
               java/samples/transport readme
               java/samples/transport/tcp readme
  Removed:     java/samples/proxy client_deploy.xml
               java/samples/transport client_deploy.xml deploy.xml
               java/samples/transport/tcp client_deploy.xml deploy.xml
  Log:
  More sample readme fixes/additions.
  
  Revision  Changes    Path
  1.5       +3 -3      xml-axis/java/samples/attachments/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/attachments/README,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- README    19 Apr 2002 20:30:44 -0000      1.4
  +++ README    24 Apr 2002 15:00:33 -0000      1.5
  @@ -1,7 +1,7 @@
   To run the attachments sample, you must do the following:
   1.  Set up your CLASSPATH.
   2.  Start a server.
  -3.  Deploy the sample.
  +3.  Deploy the service.
   4.  Run the sample.
   
   1.  Set up your CLASSPATH.
  @@ -15,8 +15,8 @@
       available to it.  For this test, the AXIS SimplAxisServer is not enough.
       See the documentation for your server for details.
   
  -3.  Deploy the sample.
  -    To deploy the sample, run:
  +3.  Deploy the service.
  +    To deploy the service, run:
           java org.apache.axis.client.AdminClient attachdeploy.wsdd 
   
   4.  Run the sample.
  
  
  
  1.2       +2 -2      xml-axis/java/samples/bidbuy/readme
  
  Index: readme
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/bidbuy/readme,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- readme    19 Apr 2002 20:30:44 -0000      1.1
  +++ readme    24 Apr 2002 15:00:33 -0000      1.2
  @@ -14,8 +14,8 @@
       simple server you could run, in a separate window:
           java org.apache.axis.transport.http.SimpleAxisServer -p 8080
   
  -3.  Deploy the sample.
  -    To deploy the sample, run:
  +3.  Deploy the service.
  +    To deploy the service, run:
           java org.apache.axis.client.AdminClient deploy.wsdd 
   
   4.  Run the sample.
  
  
  
  1.2       +2 -2      xml-axis/java/samples/echo/readme
  
  Index: readme
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/echo/readme,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- readme    19 Apr 2002 20:30:44 -0000      1.1
  +++ readme    24 Apr 2002 15:00:33 -0000      1.2
  @@ -14,8 +14,8 @@
       simple server you could run, in a separate window:
           java org.apache.axis.transport.http.SimpleAxisServer -p 8080
   
  -3.  Deploy the sample.
  -    To deploy the sample, run:
  +3.  Deploy the service.
  +    To deploy the service, run:
           java org.apache.axis.client.AdminClient deploy.wsdd 
   
   4.  Run the sample.
  
  
  
  1.3       +2 -2      xml-axis/java/samples/encoding/readme
  
  Index: readme
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/encoding/readme,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- readme    21 Apr 2002 19:09:28 -0000      1.2
  +++ readme    24 Apr 2002 15:00:33 -0000      1.3
  @@ -14,8 +14,8 @@
       simple server you could run, in a separate window:
           java org.apache.axis.transport.http.SimpleAxisServer -p 8080
   
  -3.  Deploy the sample.
  -    To deploy the sample, run:
  +3.  Deploy the service.
  +    To deploy the service, run:
           java org.apache.axis.client.AdminClient deploy.wsdd 
   
   4.  Run the samples.
  
  
  
  1.3       +2 -2      xml-axis/java/samples/jaxrpc/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/jaxrpc/README,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- README    22 Apr 2002 18:34:11 -0000      1.2
  +++ README    24 Apr 2002 15:00:33 -0000      1.3
  @@ -14,8 +14,8 @@
       simple server you could run, in a separate window:
           java org.apache.axis.transport.http.SimpleAxisServer -p 8080
   
  -3.  Deploy the sample.
  -    To deploy the samples, be sure you're in the JAX-RPC samples directory 
(samples/jaxrpc), then run:
  +3.  Deploy the service.
  +    To deploy the service, be sure you're in the JAX-RPC samples directory 
(samples/jaxrpc), then run:
           java org.apache.axis.client.AdminClient deploy.wsdd
   
   4.  Run the samples.
  
  
  
  1.2       +2 -2      xml-axis/java/samples/message/readme
  
  Index: readme
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/message/readme,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- readme    22 Apr 2002 18:34:11 -0000      1.1
  +++ readme    24 Apr 2002 15:00:33 -0000      1.2
  @@ -14,8 +14,8 @@
       simple server you could run, in a separate window:
           java org.apache.axis.transport.http.SimpleAxisServer -p 8080
   
  -3.  Deploy the sample.
  -    To deploy the sample, run:
  +3.  Deploy the service.
  +    To deploy the service, run:
           java org.apache.axis.client.AdminClient deploy.wsdd 
   
   4.  Run the sample.
  
  
  
  1.2       +2 -2      xml-axis/java/samples/misc/readme
  
  Index: readme
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/misc/readme,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- readme    22 Apr 2002 18:34:11 -0000      1.1
  +++ readme    24 Apr 2002 15:00:33 -0000      1.2
  @@ -14,8 +14,8 @@
       simple server you could run, in a separate window:
           java org.apache.axis.transport.http.SimpleAxisServer -p 8080
   
  -3.  Deploy the sample.
  -    To deploy the sample, run:
  +3.  Deploy the service.
  +    To deploy the service, run:
           java org.apache.axis.client.AdminClient deploy.wsdd 
   
   4.  Run the samples.
  
  
  
  1.1                  xml-axis/java/samples/proxy/client_deploy.wsdd
  
  Index: client_deploy.wsdd
  ===================================================================
  <deployment name="test" xmlns="http://xml.apache.org/axis/wsdd/";
      xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
    <handler name="TCPSender" type="java:samples.transport.tcp.TCPSender" />
    <transport name="tcp" pivot="TcpSender"/>
  </deployment>
  
  
  
  1.4       +59 -12    xml-axis/java/samples/stock/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/stock/README,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- README    6 Feb 2001 19:51:41 -0000       1.3
  +++ README    24 Apr 2002 15:00:33 -0000      1.4
  @@ -1,10 +1,42 @@
  -Deploy:
  -  java org.apache.axis.client.AdminClient deploy.xml
  +To run the stock samples, you must do the following:
  +1.  Set up your CLASSPATH.
  +2.  Start a server.
  +3.  Deploy the service.
  +4.  Run the samples.
   
  -Usage:
  -  java samples.stock.GetQuote [options] <symbol>...
  +1.  Set up your CLASSPATH.
  +    The CLASSPATH must contain:  an XML parser (ie., Xerces), JUnit
  +    (www.junit.org), all the jars in the lib directory, and the directory
  +    containing the samples subdirectory.
   
  -  options:
  +2.  Start a  server.
  +    To run the sample, you will first need to run a server.  To run a very
  +    simple server you could run, in a separate window:
  +        java org.apache.axis.transport.http.SimpleAxisServer -p 8080
  +
  +3.  Deploy the service.
  +    To deploy the service, be sure you're in the JAX-RPC samples directory 
(samples/stock), then run:
  +        java org.apache.axis.client.AdminClient deploy.wsdd
  +
  +4.  Run the samples.
  +
  +    Run the GetInfo sample:
  +        java samples.stock.GetInfo <symbol> <datatype>
  +
  +     where <symbol> is one of "IBM", "ALLR" (Allaire), or "CSCO" (Cisco)
  +          (these are the only symbols this sample supports)
  +        and <datatype> is one of "symbol", "name", or "address".
  +
  +    Here's a simple, explicit example:
  +        java samples.stock.GetInfo IBM address
  +    This should result in the following output:
  +        IBM: Armonk, NY
  +
  +
  +    Run the GetQuote sample:
  +        java samples.stock.GetQuote [options] <symbol>
  +
  +    options:
       -d           turn on debugging - more 'd means more info
       -h<HOST>     server host name
       -l<URL>      ie. http://localhost:80/axis/servlet/AxisServlet
  @@ -13,13 +45,28 @@
       -u<USERID>   user-id
       -w<PASSWD>   password
   
  -If you use the authorization and authentication handlers you'll need
  -to add a couple of files to your Servlet Engine's current dir:
  +    If you use the authorization and authentication handlers (which the given
  +    deploy.wsdd does) you'll need to add a couple of files to your Servlet
  +    Engine's current dir:
  +
  +    users.lst
  +     - list of users and passwords
  +
  +    perms.lst
  +     - list of users and allowable actions per user
  +
  +    If you are running the SimpleAxisServer, this means that these files must
  +    be in the directory from which that program is run.  The easiest thing to
  +    do is to cd to samples/stock and run SimpleAxisServer from there.
  +
  +    Here's an explicit example of running GetQuote using these files:
  +        java samples.stock.GetQuote -uuser1 -wpass1 XXX
  +    This should result in the following output:
  +        XXX: 55.25
   
  -users.lst
  - - list of users and passwords
   
  -perms.lst
  - - list of users and allowable actions per user
  +    Run the GetQuote1 sample:
  +        java samples.stock.GetQuote1 -uuser -wpass1 XXX
   
  -I've included some samples in this dir.
  +    GetQuote1 does the same thing that GetQuote does, but it shows how to
  +    make the call with and without the GetQuote.wsdl file.
  
  
  
  1.1                  xml-axis/java/samples/transport/readme
  
  Index: readme
  ===================================================================
  To run the encoding samples, you must do the following:
  1.  Set up your CLASSPATH.
  2.  Deploy the service.
  3.  Run the sample.
  
  1.  Set up your CLASSPATH.
      The CLASSPATH must contain:  an XML parser (ie., Xerces), JUnit
      (www.junit.org), all the jars in the lib directory, and the directory
      containing the samples subdirectory.
  
  3.  Deploy the service.
      To deploy the service, run:
          java org.apache.axis.utils.Admin server deploy.wsdd 
  
  4.  Run the sample.
      Finally, to run the sample, run:
        java samples.transport.FileTest XXX
  
  
  
  1.1                  xml-axis/java/samples/transport/tcp/readme
  
  Index: readme
  ===================================================================
  To run the encoding samples, you must do the following:
  1.  Set up your CLASSPATH.
  2.  Start a server.
  3.  Deploy the service.
  4.  Run the sample.
  
  1.  Set up your CLASSPATH.
      The CLASSPATH must contain:  an XML parser (ie., Xerces), JUnit
      (www.junit.org), all the jars in the lib directory, and the directory
      containing the samples subdirectory.
  
  2.  Start a  server.
      To run the sample, you will first need to run a server.  To run a very
      simple server you could run, in a separate window:
          java org.apache.axis.transport.http.SimpleAxisServer -p 8080
  
  3.  Deploy the service.
      To deploy the service, run:
          java samples.transport.tcp.AdminClient deploy.wsdd 
  
  4.  Run the sample.
      Finally, to run the client, run:
        java samples.transport.tcp.GetQuote XXX
  
  
  


Reply via email to