beautypg.com

Downloading the wsdl file, Compiling the client stubs – Nortel Networks AS 5300 User Manual

Page 42

background image

42

Creating Open Provisioning Interface clients

set CLASSPATH= D:\axis-1_4\webapps\axis\WEB-INF\
lib\axis.jar;D:\axis-1_4\webapps\axis\WEB-INF\l
ib\axis-ant.jar;D:\axis-1_4\webapps\axis\WEB-IN
F\lib\commons-discovery-0.2.jar;D:\axis-1_4\web
apps\axis\WEB-INF\lib\commons-logging-1.0.4.jar
;D:\axis-1_4\webapps\axis\WEB-INF\lib\jaxrpc.ja
r;D:\axis-1_4\webapps\axis\WEB-INF\lib\log4j-1.
2.8.jar;D:\axis-1_4\webapps\axis\WEB-INF\lib\sa
aj.jar;D:\axis-1_4\webapps\axis\WEB-INF\lib\wsd
l4j-1.5.1.jar

3

Create a folder for the generated client stubs (for example,

D:\opiclient

).

--End--

Downloading the WSDL file

Use the following procedure to download the WSDL file. The WSDL file for
the AS 5300 is stored on the System Manager server.

Procedure Steps

Step

Action

1

Retrieve the WSDL file from the loads directory on the System
Manager server.

/wsdl/opi

--End--

Compiling the client stubs

Use the following procedure to compile the client stubs.

Procedure Steps

Step

Action

1

Open a command prompt and navigate to the directory
containing the downloaded WSDL file.

For example:

D:\opiclient

.

2

Run the WSDL2JAVA tool on the WSDL file.

For example:

java org.apache.axis.wsdl.WSDL2Java -O -1 -d Session

-Nurn:OPI com.client.opi.service opi.wsdl

Nortel AS 5300

Nortel Application Server 5300 Application Programming Interfaces Reference

NN42040-110

01.01

Standard

11 June 2008

Copyright © 2008 Nortel Networks

.