Archived: Downloading and Installing Axis2/Java 1.4.1

This section provides a tutorial example on how to download and install Axis2/Java 1.4.1 to a Windows systems that has JDK 1.6.0 available.

Here is what I did to download and install Axis2/Java 1.4.1:

1. Go to http://ws.apache.org/axis2/ and click link in the left menu "Version 1.4.1". The Axis2/Java 1.4.1 Documentation Home page shows up.

2. Click the link "Download and Installation" in Apache Axis2 User's Guide section. The Apache Axis2 Installation Guide page shows up.

3. Click "Download" link next to "distribution packages of the Apache Axis2 1.4.1 version (latest)" in the Axis2 Distributions section. The Axis2 1.4.1 Release download page shows up.

4. Click "zip" link at the end of the "Standard Binary Distribution" row. The browser download dialog box shows up.

5. Save the download file, axis2-1.4.1-bin.zip, to C:\local folder. The size of axis2-1.4.1-bin.zip should be 20,443,297 bytes.

6. Unzip axis2-1.4.1-bin.zip to C:\local folder. Axis2 is installed at C:\local\axis2-1.4.1. Rename C:\local\axis2-1.4.1 to C:\local\axis2 to simplify the path name.

Since I am only going to use Axis2 for client side program, I don't need to integrate Axis2 with Tomcat. So my installation is done.

Let's try the command line tool wsdl2java to verify the installation.

herong> \local\axis2\bin\wsdl2java
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK/JRE

herong> \local\jdk\bin\java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

herong> set JAVA_HOME=\local\jdk

herong> \local\axis2\bin\wsdl2java
The AXIS2_HOME environment variable is not defined correctly
This environment variable is needed to run this program

herong> set AXIS2_HOME=\local\axis2

herong> \local\axis2\bin\wsdl2java
Using AXIS2_HOME:   \local\axis2
Using JAVA_HOME:    \local\jdk
Usage: WSDL2Java [options] -uri <url or path> : A url to a WSDL

where [options] include:
  -o <path>   Specify a directory path for the generated code.
  -a          Generate async style code only (Default: off).
  -s          Generate sync style code only (Default: off).
...

Cool. The installation seems to be ok after setting two environment variables: JAVA_HOME and AXIS2_HOME.

Table of Contents

 About This Book

 Introduction to WSDL 2.0

 WSDL 2.0 Document Structure and Syntax

 WSDL Version 2.0 Part 2: Adjuncts

 WSDL 2.0 Document Examples with SOAP Binding

 Using WSDL Document in Java Apache Axis2/Java for WSDL

 Apache Woden for WSDL Documents in Java

 SoapUI - Web Service Testing Tool

 PHP SOAP Extension for WSDL

 Perl SOAP::Lite for WSDL

 Introduction to WSDL 1.1

 WSDL 1.1 Document Structure and Syntax

 WSDL 1.1 Binding Extension for SOAP 1.1

 SoapUI as WSDL 1.1 Testing Tool

 WSDL 1.1 and SOAP 1.1 Examples - Document and RPC Styles

 PHP SOAP Extension for WSDL 1.1

 Perl SOAP::Lite for WSDL 1.1

 Apache Axis2/Java for WSDL 1.1

 Using WSDL2Java to Generate Web Service Stub Classes

 WSDL 1.1 Binding Extension for SOAP 1.2

 WSDL 1.1 and SOAP 1.2 Examples - Document and RPC Styles

 SOAP 1.2 Binding - PHP, Java and Perl Clients

 Python SOAP Client: Zeep

 WSDL Related Terminologies

Archived Tutorials

 Archived: Downloading and Installing SoapUI 3.0.1

 Archived: SoapUI 3.0.1 MockService - Web Service Simulator

 Archived: Downloading and Installing PHP 5.3.1

Archived: Downloading and Installing Axis2/Java 1.4.1

 Archived: Axis2GetSpeechClient.java - document/literal Style

 References

 Full Version in PDF/EPUB