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

Page 19

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

Image 19
Contents Multimedia Communication Server Page Finding the latest updates on the Nortel Web site Page Getting help from the Nortel web site Getting help over the phone from a Nortel Solutions CenterGetting help through a Nortel distributor or reseller Open Provisioning Interface introduction Web Services Description Language WsdlLogical view of OPI interactions Third party client developmentGenerate stubs Get the WsdlAuthentication Authentication and authorizationImplement interface accessing stubs Access stubs from the third-party applicationDomain-level authorization Provisioning-Level authorization AuthorizationSuccess indication on remove methods Provisioning InterfacePROV606 logs Deprecated methods and method fieldsExample Provisioning data visibilityDeprecated method elements Sheet 1 Affected method Affected method Deprecated method element Deprecated method elements Sheet 2Page Requirements Building OPI Stubs ClientsDownloading the Axis toolkit Setting the Classpath Procedure 1 Downloading the Axis toolkitProcedure 2 Setting the Classpath Compiling the stubs Procedure 4 Compiling the stubs Procedure 3 Downloadin the Wsdl fileDownloading the Wsdl file \opiclient\com\client\opi\service Writing a client to perform some specific OPI operations Copyright Nortel Networks Limited Two examples Example creating a user route to screen two numbers Page Example creating a route using simultaneous ringing Page Special note on .NET authentication headers Error codes and messages Error Code Error Message Data-Access error messagesDirectoriesImpl error messages Error Code Error Message AddressBookImpl error messages Error Code Error Message Error Code Error Message Error Code Error Message UserServicePkgImpl error messages UserMgrImpl error messages Error Code Error Message RouteMgrImpl error messages DomainMgrImpl error messagesError Code Error Message GlobalAddrBookCondMgr error messages AddressBookGroupCondMgr error messagesPersonalAddrBookCondMgr error messages TimeBlockGroupCondMgr error messages PhoneNumberCondMgr error messagesBannedSubscriberMgrImpl error messages DomainCosMgrImpl error messages TimeZoneMgrImpl error messages DomainProfileMgrImpl error messagesStatusReasonMgrImpl error messages ServiceMgrImpl error messages Error Code Error Message UserPropertiesServlet error messages VoicemailMgrImpl error messages UserDataMgrImpl error messagesDeviceMgrImpl error messages IPCMMgrImpl error messages UserTimeMgrImpl error messages Error Code Error Message Error Code Error Message Page Page Multimedia Communication Server