user manual

96 BES Developers Guide
Tools Overview
Deployment Wizard, for more information go to the Management
Console User's Guide, Deployment Wizard section.
3 Run. To run an example, navigate to its directory and use the ant run-
client command.
For example, to run the Java Provider client:
C:/BDP/examples/webservices/java>Ant run-client
Apache Axis Web Service samples
The Apache Axis web service samples are already deployed in the axis-
samples.war file present in the Borland Partition. Since these are already pre-
deployed, you do not need to use the Apache Axis deploy commands
suggested in the Apache Axis User's Guide.
The Apache Axis User's Guide is also provided with the BES installation and is
located in:
<install_dir>/doc/axis/user-guide.html
or go to the Third Party Documentation, Axis Documentation section.
These samples illustrate the capabilities of Axis. They are unmodified from the
original Apache Axis implementation and are not guaranteed to run.
Tools Overview
This section describes the various tools used in examples.
Apache ANT tool
The Apache ANT utility is a platform-independent, java-based build tool used
to build the examples.
The XML build script build.xml is used to drive the tool. This build.xml file
describes the various targets available for a project and the commands
executed in response to those targets. The Borland Enterprise Server
conveniently provides all necessary JARs and scripts to run the Apache Ant
tool.
Java2WSDL tool
The Java2WSDL is an Apache Axis utility class that generates WSDL
corresponding to a Java class. This class can accept a number of command
line arguments. You can get the full usage help by running this utility without
arguments as follows:
java org.apache.axis.wsdl.Java2WSDL