Copying the rampart binaries to axis2/java, Building the axis2/java web archive with rampart, Deploying the axis2/java web archive with rampart – HP Integrity NonStop J-Series User Manual

Page 300

Advertising
background image

3.

Extract the Standard Binary Distribution (rampart-dist-1.5-bin.zip) into a directory
on your Windows system.

This directory will be referred as <Rampart Home>. Among other directories, <Rampart
Home

> contains the following sub-directories:

\samples

includes sample applications demonstrating Rampart features.

\lib

includes the Rampart binaries.

\modu les

includes the module archive files.

\docs

includes the Rampart documentation in HTML format.

Copying the Rampart Binaries to Axis2/Java

To copy the Rampart binaries to Axis2/Java, complete the following steps:
1.

Copy the rahas-1.5 and rampart-1.5 module files from the <Rampart Home>\modules
directory to the <Axis2 Home>/repository/modules directory.

2.

Copy libraries from the <Rampart Home>\lib directory to the <Axis2 Home>/lib
directory

Building the Axis2/Java Web Archive with Rampart

Build the Axis2/Java web archive with Rampart using the steps described in

“Building the

Axis2/Java Web Archive using Standard Binary Distribution” (page 293)

.

Deploying the Axis2/Java Web Archive with Rampart

Before you deploy the web archive (axis2.war), remove the axis2.war file from the <NSJSP
Deployment Directory
>/webapps

directory, if the file is already present.

Deploy the Axis2/Java web archive using the steps described in

“Deploying Axis2/Java as a Web

Application on NonStop” (page 294)

.

This completes installing the Rampart module in Axis2/Java.

Deploying and Running Axis2/Java Sample Applications on NonStop

This section discusses the steps to deploy the following sample applications distributed with the
Axis2/Java binary distribution:

“FaultHandling” (page 301)

“MTOM” (page 303)

NOTE:

The Axis2/Java distribution includes several sample applications, of which only

FaultHandling and MTOM are discussed here for demonstration purposes. To run a sample
application that is not discussed in this section, use the building, deploying, and running steps
explained for FaultHandling and MTOM as reference.

This section describes the following steps for the sample applications:

Building sample applications on a Windows system

Deploying sample applications on a NonStop system

Running sample applications

300 Installing Axis2/Java Framework

Advertising
This manual is related to the following products: