Nortel Networks AS 5300 manual Downloading the WSDL file, Compiling the client stubs, D\opiclient

Models: AS 5300

1 54
Download 54 pages 16.04 Kb
Page 42
Image 42
D:\opiclient).

42Creating 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

3Create 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

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

<loadname>/wsdl/opi

--End--

Compiling the client stubs

Use the following procedure to compile the client stubs.

Procedure Steps

Step Action

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

For example: D:\opiclient.

2Run 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

Page 42
Image 42
Nortel Networks AS 5300 Downloading the WSDL file, Compiling the client stubs, D\opiclient, loadname/wsdl/opi, Step Action