Downloading the wsdl file, Compiling the stubs – Nortel Networks NN42020-123 User Manual

Page 19

Advertising
background image

Open Provisioning Interface Reference Guide

19

Copyright © Nortel Networks Limited 2006

Downloading the WSDL file

Download the Web Server Description Language (WSDL) from the
Provisioning Server.

Procedure 3 Downloadin the WSDL file

On the PC

1

In your web browser, navigate to the URL:

http://<web-server-host-ip>/prov/services/OPI?wsdl

where
<web-server-host-ip> is the IP address of the Provisioning
Server. This is same IP address used by the Provisioning Client.

2

Download the WSDL file to the folder created for the OPI clients.

In our example, the file is named opi.wsdl and it is
downloaded to the folder D:\opiclient.

Compiling the stubs

Procedure 4 Compiling the stubs

On the PC

1

Open a command prompt and navigate to the directory to the
one containing the downloaded WSDL file (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

Advertising