beautypg.com

Creating an axis2/java aar file, Creating an, Axis2/java aar – HP Integrity NonStop H-Series User Manual

Page 204: File

background image





class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>

TemperatureConverter
false
true
mep="http://www.w3.org/ns/wsdl/in-out"
namespace="http://ws.apache.org/axis2">
urn:f2cConversion

http://TemperatureConverterPortType/f2cConversionResponse


mep="http://www.w3.org/ns/wsdl/in-out"
namespace="http://ws.apache.org/axis2">
urn:c2fConversion

http://TemperatureConverterPortType/c2fConversionResponse



Creating an

Axis2/Java AAR

File

An

Axis2/Java AAR

file contains the compiled code of the service implementation class, and

the

services.xml

file.

Use the

JAR

utility to create the

AAR

file for TemperatureConverter.

To create an

Axis2/Java AAR

file, complete the following steps:

1.

Go to the

<My SASH Home>\Axis2\gettingstarted\TemperatureConverter

directory using the command:

command prompt> cd <My SASH Home>\Axis2\gettingstarted\TemperatureConverter

2.

Create the

AAR

archive using the command:

command prompt> jar –cvf TemperatureConverter.aar *.class META-INF

The

TemperatureConverter.aar

file is created in the

TemperatureConverter

directory.

Deploying TemperatureConverter Web Service on NonStop

To deploy the

EmpInfo AAR

(

TemperatureConverter.aar

) file on your NonStop system,

complete the following steps:

1.

Make sure you have the Axis2/Java web application deployed in NSJSP.

NOTE:

For information on deploying the Axis2/Java web application in NSJSP, see the

Installing Axis2/Java Framework

chapter.

2.

Ensure that you have WRITE permissions to the

<NSJSP deployment

directory>/webapps/axis2/WEB-INF/services

directories.

You can verify this by using the OSS command:

OSS> ls –l /webapps/axis2/WEB-INF

For example, the command:

ls –l
/home/sash_usr/webserver/servlet_jsp/axis2/WEB-INF

204

Getting Started with Axis2/Java

This manual is related to the following products: