beautypg.com

Creating the client project in eclipse – HP Integrity NonStop H-Series User Manual

Page 207

background image

The WSDL file is required to create the TemperatureConverter web service client that invokes
the TemperatureConverter as a web service.

Developing TemperatureConverter Client on Windows using the Eclipse IDE

To invoke the TemperatureConverter service running on your NonStop system, you need to
create a Axis2/Java client on your Windows system. The APIs of the client application will be
used to invoke the web service.

To create an Axis2/Java client for the TemperatureConverter web service, you can use the Eclipse
IDE. To develop the Axis2/Java client application

AxisClient

for the TemperatureConverter

web service, complete the following steps:

1.

Creating the Client Project in Eclipse

2.

Creating the Java Package for Client Project

3.

Creating the Class Files under the Java Package

4.

Modifying the Class File of the Client

5.

Adding Dependency

JAR

Files

Creating the Client Project in Eclipse

To create the client project in Eclipse, complete the following steps:

1.

Open the Eclipse IDE by double-clicking the

eclipse.exe

file in <

Eclipse IDE

Installation directory

>.

The Workspace Launcher dialog box appears. By default, the workspace is set to your existing
workspace, if already created.

NOTE:

D:\sash_usr\axis2

is the sample workspace used to develop the client

application

AxisClient

for TemperatureConverter web service.

Figure 9-3

shows the Workspace Launcher dialog box.

Figure 9-3 Workspace Launcher Dialog Box

2.

Click OK.

If you want to create a new workspace, click Browse and select the folder you want to use
as your workspace and then click OK.

The Eclipse SDK Welcome screen appears.

Figure 9-4

shows the Eclipse SDK Welcome screen.

Overview of TemperatureConverter

207

This manual is related to the following products: