| Sun Java System Application Server |
This document describes how to compile and execute an Apache Axis Java client with the InteropHelloWorld web service. This document contains the following sections:
Axis is an implementation of the Simple Object Access Protocol (SOAP) from the Apache Foundation. It includes a SOAP client that can access the InteropHelloWorld web service. To build and run the JAXRPC-Interop sample, You must have Axis 1.1 or later for this sample application.
To run the JAXRPC-Interop client, follow these steps:
/lib directory under install_dir/samples/webservices/interop
/lib directory: The general instructions for building, deploying, and running sample applications are provided in Using Ant with Sample Applications. In reading this document, use the following application-specific variables for this application:
install_dir is the directory where Application Server is installed.
app_dir is the application base directory:
install_dir/samples/webservices/interop/apps/axis-client.
Follow this procedure:
app_dir directory:
cd install_dir/samples/webservices/interop/apps/axis-client
asant.
The default target will rebuild the axisClient.jar file.
asant run.
You're talking to a Sun Web Service using AXIS client.
If you encounter errors while executing asant core or running the client,
ensure the libraries axis.jar, commons-discovery.jar and commons-logging.jar
are present in app_dir/lib directory.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.