17 getting started with axis2/java, Prerequisites, Nonstop system – HP Integrity NonStop J-Series User Manual

Page 319: Windows system, Overview of temperatureconverter, Code-first approach, Nonstop system windows system, Chapter 17: getting started with axis2/java

Advertising
background image

17 Getting Started with Axis2/Java

This chapter explains how to develop a web service using the Axis2/Java framework. It describes
the steps required to build a basic TemperatureConverter system on your Windows system and
deploy it on your NonStop system.

Prerequisites

Before getting started, make sure that you have the requisite software installed on your NonStop
and Windows system.

NonStop System

The following software must be installed on your NonStop system:

NonStop iTP WebServer version T8996H02 or later

NSJSP version T1222H60 or later

NSJ version T2766H60 or later

Windows System

The following software must be installed on your Windows system:

JDK version 1.5 or later

Eclipse Galileo IDE version 3.3.1.1 or a later

NOTE:

For more information about installing the software required on NonStop and Windows

system, see

“Prerequisites” (page 18)

.

Overview of TemperatureConverter

TemperatureConverter is a web service developed using the Axis2/Java framework. This application
enables you to convert temperature from:

Celsius to Fahrenheit

Fahrenheit to Celsius

You can use one of the following approaches to build a web service:

Code-First approach - by writing a Java object and then developing and deploying it as a
web service.

Contract-First approach - by creating a Web Service Description Language (WSDL) file and
then using Java to implement it.

NOTE:

The subsequent sections provide the steps to develop and deploy a sample application,

TemperatureConverter, using both Code-First and Contract-First approaches.

Code-First approach

This section describes the steps to develop, set up, deploy, and run the TemperatureConverter web
service and its client using the Code-First approach. The following tasks are described:

1.

“Developing TemperatureConverter Web Service on Windows” (page 320)

2.

“Deploying the TemperatureConverter Web Service on NonStop” (page 321)

3.

“Running TemperatureConverter Web Service on NonStop” (page 323)

4.

“Developing TemperatureConverter Client on Windows using the Eclipse Galileo IDE” (page 324)

5.

“Running TemperatureConverter Client on Windows” (page 335)

Prerequisites

319

Advertising
This manual is related to the following products: