Faulthandling, Building faulthandling on windows, Deploying faulthandling on nonstop – HP Integrity NonStop J-Series User Manual

Page 301

Advertising
background image

FaultHandling

FaultHandling demonstrates Exception Handling using the WSDL faults and invokes BankService
webservice when it is run.

The intended users of this application are bank customers.

This section describes the following steps for FaultHandling:

“Building FaultHandling on Windows” (page 301)

“Deploying FaultHandling on NonStop” (page 301)

“Running FaultHandling” (page 303)

Building FaultHandling on Windows

To build FaultHandling on your Windows system, complete the following steps:

1.

Go to the <Axis2 Home>\samples\faulthandling directory on your Windows system,
using the command:

command prompt> cd <Axis2 Home>\samples\faulthandling

For example:

command prompt> cd C:\axis2-1.5.2\samples\faulthandling

2.

Generate the service. To do so, complete the following steps:
a.

Clean the output directory (if already present) using the command:

command prompt> ant clean

b.

Create the service archive file (BankService.aar) in the <Axis2
Home
>\samples\faulthandling\build\service

directory on your Windows

system, using the command:

command prompt> ant generate.service

FaultHandling is now ready to be deployed under the Axis2/Java web application on the NonStop
system.

Deploying FaultHandling on NonStop

To deploy the BankService webservice under the Axis2/Java web application, complete the
following steps:

Deploying and Running Axis2/Java Sample Applications on NonStop 301

Advertising
This manual is related to the following products: