Downloading The Wsdl File; Compiling The Client Stubs - Nortel AS 5300 Application Programming Interface

Application programming interfaces reference
Hide thumbs Also See for AS 5300:
Table of Contents

Advertisement

42 Creating Open Provisioning Interface clients
3
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
1

Compiling the client stubs

Use the following procedure to compile the client stubs.
Procedure Steps
Step
1
2
Nortel Application Server 5300 Application Programming Interfaces Reference
Copyright © 2008 Nortel Networks
.
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
Create a folder for the generated client stubs (for example,
D:\opiclient).
Action
Retrieve the WSDL file from the loads directory on the System
Manager server.
<loadname>/wsdl/opi
Action
Open a command prompt and navigate to the directory
containing the downloaded WSDL file.
For example: D:\opiclient.
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
NN42040-110 01.01 Standard
11 June 2008
--End--
--End--

Advertisement

Table of Contents
loading

Table of Contents