axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@apache.org
Subject cvs commit: xml-axis/java/samples/addr testit.sh testit.cmd readme
Date Mon, 21 Jan 2002 20:48:54 GMT
butek       02/01/21 12:48:54

  Modified:    java/samples/addr testit.sh testit.cmd readme
  Log:
  Thanks to Jeff Barret (barretj@us.ibm.com) for some fixes/clarifications on the
  address book readme and testit scripts.
  
  Revision  Changes    Path
  1.5       +1 -1      xml-axis/java/samples/addr/testit.sh
  
  Index: testit.sh
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/addr/testit.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- testit.sh	17 Oct 2001 23:37:21 -0000	1.4
  +++ testit.sh	21 Jan 2002 20:48:54 -0000	1.5
  @@ -1,6 +1,6 @@
   echo This test assumes a server URL of http://localhost:8080/axis/servlet/
   echo Deploying the addressbook2 service...
  -java org.apache.axis.client.AdminClient deploy.xml $*
  +java org.apache.axis.client.AdminClient deploy.wsdd $*
   echo
   echo Running demo...
   java samples.addr.Main $*
  
  
  
  1.5       +1 -1      xml-axis/java/samples/addr/testit.cmd
  
  Index: testit.cmd
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/addr/testit.cmd,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- testit.cmd	17 Oct 2001 23:37:21 -0000	1.4
  +++ testit.cmd	21 Jan 2002 20:48:54 -0000	1.5
  @@ -1,7 +1,7 @@
   @echo off
   echo This test assumes a server URL of http://localhost:8080/axis/servlet/
   echo Deploying the addressbook2 service...
  -java org.apache.axis.client.AdminClient deploy.xml %*%
  +java org.apache.axis.client.AdminClient deploy.wsdd %*%
   echo .
   echo Running demo...
   java samples.addr.Main %*%
  
  
  
  1.4       +19 -4     xml-axis/java/samples/addr/readme
  
  Index: readme
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/addr/readme,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- readme	15 Jan 2002 16:53:13 -0000	1.3
  +++ readme	21 Jan 2002 20:48:54 -0000	1.4
  @@ -1,6 +1,21 @@
  -To generate files from the wsdl:
  +The address book sample requires that you generate the Java bindings from the AddressBook.wsdl
file.
   
  -java org.apache.axis.wsdl.WSDL2Java -s samples\addr\AddressBook.wsdl 
  -                                    -N urn:AddressFetcher2=samples.addr
  +First, set up the CLASSPATH.  It must contain an XML parser (ie., xerces.jar); all the
jars in the lib directory:  axis.jar, clutil.jar, log4j-core.jar, and wsdl4j.jar; and the
directory containing the samples subdirectory.
   
  -from the xml-axis\java directory.
  +Now change directory to the directory that contains the samples subdirectory.
  +
  +Finally, run the command:
  +
  +java org.apache.axis.wsdl.WSDL2Java -s -Nurn:AddressFetcher2=samples.addr samples\addr\AddressBook.wsdl

  +
  +This will generate all the bindings, both client-side and server-side, into the samples/addre
subdirectory.
  +
  +Now you can change directory to samples/addr and compile the sample.  BUT FIRST, this sample
depends on junit, so you have to get junit.jar (www.junit.org) and add it to your CLASSPATH.
 THEN you can compile:
  +
  +javac *.java
  +
  +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
  +
  +Finally, to run the client, simple run testit.sh or testit.cmd, depending on your platform.
  
  
  

Mime
View raw message