beautypg.com

Adding dependency jar files, Creating the client stub file using wsdl2java – HP Integrity NonStop J-Series User Manual

Page 219

background image

Adding Dependency JAR Files

Add all the Axis2/Java dependency JAR files in the Java Build Path of the AxisClientStub
project to compile and link the project. These JAR files are located in the <Axis2/Java
Home
>/lib

directory.

To add the dependency JAR files to the projects library path, complete the steps described in

“Adding Dependency JAR Files” (page 209)

.

Creating the Client stub file using WSDL2Java

To create the Client stub, complete the following steps:

1.

On the Project Explorer frame, right-click AxisClientStub and select Run as

→Run Configuration.

The Run Configuration dialog box appears.

2.

Right-click Java Application in the Explorer pane and select New to create a new configuration
to run your Java application. The Run Configuration dialog appears. Enter the name for the
new run configuration.

3.

Click Browse to select the project and then, click Search to specify the main class of the selected
project.

Getting Started with Axis2/Java

219

This manual is related to the following products: