Nortel Networks NN42020-123 manual Building OPI Stubs Clients, Requirements

Page 17

Copyright © Nortel Networks Limited 2006

Building OPI clients

Topics in this chapter

Building OPI Stubs Clients

Writing a client to perform some specific OPI operations

Two examples

A special note on .NET authentication headers

Building OPI Stubs Clients

The following sections describes the requirements and steps tasks performed to generate Open Provisioning Interface (OPI) client stubs. The process is based on using the Axis toolkit.

Requirements

Downloading the AXIS toolkit

Setting the Classpath

Downloading the WSDL file

Compiling the stubs

Requirements

The following are required for performing the steps in this examples

working knowledge of Java application development

comfortable with using DOS commands

JDK (Java Developer Kit) 1.3 or higher

Java executable available in the system path

Axis toolkit version 1.1 final

Downloading the AXIS toolkit

The steps in this chapter use the AXIS toolkit 1.1 final version. The AXIS toolkit is a free download from the Apache Web Site.

Open Provisioning Interface Reference Guide

Image 17
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 WsdlImplement interface accessing stubs Authentication and authorizationAccess stubs from the third-party application AuthenticationDomain-level authorization Provisioning-Level authorization AuthorizationSuccess indication on remove methods Provisioning InterfaceExample Deprecated methods and method fieldsProvisioning data visibility PROV606 logsDeprecated method elements Sheet 1 Affected method Affected method Deprecated method element Deprecated method elements Sheet 2Page Downloading the Axis toolkit Building OPI Stubs ClientsRequirements Procedure 2 Setting the Classpath Procedure 1 Downloading the Axis toolkitSetting the Classpath Downloading the Wsdl file Procedure 3 Downloadin the Wsdl fileCompiling the stubs Procedure 4 Compiling the stubs \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 PersonalAddrBookCondMgr error messages AddressBookGroupCondMgr error messagesGlobalAddrBookCondMgr error messages BannedSubscriberMgrImpl error messages PhoneNumberCondMgr error messagesTimeBlockGroupCondMgr 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