beautypg.com

HP Integrity NonStop H-Series User Manual

Page 180

background image

NOTE:

The following distributions are available for download:

Standard Binary Distribution: includes the Axis2/Java binaries and sample applications.

Source Distribution: includes the source of the Axis2 standard distribution.

Web Archive (WAR) Distribution: includes the web application to be deployed on
servlet containers.

Documents Distribution: includes the documentation for Axis2/Java.

2.

Download the Standard Binary Distribution in the zip format.

NOTE:

The sample applications (FaultHandling and MTOM) discussed in this section

have been verified using Axis2/Java version 1.4.1 only.

3.

Extract the Standard Binary Distribution (

axis2-1.4.1-bin.zip

) into a directory on

your Windows system.

This directory will be referred as the

<Axis2 Home>

. Among other directories,

<Axis2

Home>

contains the following sub-directories:

\conf

includes the global configurations needed to run Axis2/Java applications.

\samples

includes sample applications demonstrating different Axis2/Java features.

\lib

includes dependent libraries required to build Axis2/Java and run samples.

\repository\modules

includes module archive files such as addressing modules.

\repository\services

includes Axis2/Java WebService archive files.

\bin

includes scripts useful for building services and clients, and starting the Axis2/Java
server.

\webapp

includes the resources to build the Axis2/Java web archive (

axis2.war

).

Building Axis2/Java Web Archive using Standard Binary Distribution

To build the Axis2/Java Web Archive (

axis2.war

) on your Windows system using Standard

Binary Distribution, complete the following steps:

1.

Go to

<Axis2 Home>\webapp

on your Windows system using the command:

command prompt> cd \webapp

For example:

command prompt> cd C:\axis2-1.4.1-bin\webapp

where,

C:\axis2-1.4.1-bin

is the <

Axis2 Home

>

2.

Build the Axis2/Java Web Archive (

axis2.war

) using the command:

command prompt> ant create.war

After successful build, the Axis2/Java web archive (

axis2.war

) is created in the <

Axis2

Home>\dist

directory.

180

Installing Axis2/Java Framework

This manual is related to the following products: