Nortel Networks NN42020-123 manual Downloading the WSDL file, Procedure 3 Downloadin the WSDL file

Models: NN42020-123

1 58
Download 58 pages 13.36 Kb
Page 19
Image 19
Downloading the WSDL file

Copyright © Nortel Networks Limited 2006

19

Downloading the WSDL file

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

Procedure 3 Downloadin the WSDL file

On the PC

1In 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.

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

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

Open Provisioning Interface Reference Guide

Page 19
Image 19
Nortel Networks NN42020-123 manual Downloading the WSDL file, Procedure 3 Downloadin the WSDL file, On the PC