Nortel Networks NN42020-123 manual Procedure 1 Downloading the Axis toolkit, Setting the Classpath

Page 18

Copyright © Nortel Networks Limited 2006

18

Procedure 1 Downloading the AXIS toolkit

On the PC

1In your web browser, navigate to the Axis toolkit page on the Apache web site.

ws.apache.org/axis

The 1.1 final version is recommended.

2Download the 1.1 final version file, axis-1_1.zip, to your PC.

3Unzip the files to a drive on the PC. In this example, we use Axis files extracted to folder D:\axis-1_1.

Setting the Classpath

The classpath needs to be set for specific jar files that are part of the Axis toolkit.

Procedure 2 Setting the Classpath

On the PC

1Open a command prompt in the DOS window

2Set the classpath for all the jar files found in the directory

D:\axis-1_1\webapps\axis\WEB-INF\lib.

set CLASSPATH= D:\axis-1_1\webapps\axis\WEB-INF \lib\axis.jar;D:\axis-1_1\webapps\axis\WEB-INF \lib\axis-ant.jar;D:\axis-1_1\webapps\axis\WEB -INF\lib\commons-discovery.jar;D:\axis-1_1\web apps\axis\WEB-INF\lib\commons-logging.jar;D:\a xis-1_1\webapps\axis\WEB-INF\lib\jaxrpc.jar;D: \axis-1_1\webapps\axis\WEB-INF\lib\log4j-1.2.8

.jar;D:\axis-1_1\webapps\axis\WEB-INF\lib\saaj

.jar;D:\axis-1_1\webapps\axis\WEB-INF\lib\wsdl 4j.jar

3Create a folder for the generated client stubs. In this example, we use the folder D:\opiclient.

NN42020-123 MCS 5100 3.5 Standard 4.0 4.0 January 2006

Image 18
Contents Multimedia Communication Server Page Finding the latest updates on the Nortel Web site Page Getting help over the phone from a Nortel Solutions Center Getting help from the Nortel web siteGetting help through a Nortel distributor or reseller Web Services Description Language Wsdl Open Provisioning Interface introductionThird party client development Logical view of OPI interactionsGet the Wsdl Generate stubsAccess stubs from the third-party application Authentication and authorizationImplement interface accessing stubs AuthenticationAuthorization Domain-level authorization Provisioning-Level authorizationProvisioning Interface Success indication on remove methodsProvisioning data visibility Deprecated methods and method fieldsExample PROV606 logsDeprecated method elements Sheet 1 Affected method Deprecated method elements Sheet 2 Affected method Deprecated method elementPage Building OPI Stubs Clients RequirementsDownloading the Axis toolkit Procedure 1 Downloading the Axis toolkit Setting the ClasspathProcedure 2 Setting the Classpath Procedure 3 Downloadin the Wsdl file Compiling the stubs Procedure 4 Compiling the stubsDownloading 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 Data-Access error messages Error Code Error MessageDirectoriesImpl 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 DomainMgrImpl error messages RouteMgrImpl error messagesError Code Error Message AddressBookGroupCondMgr error messages GlobalAddrBookCondMgr error messagesPersonalAddrBookCondMgr error messages PhoneNumberCondMgr error messages TimeBlockGroupCondMgr error messagesBannedSubscriberMgrImpl error messages DomainCosMgrImpl error messages DomainProfileMgrImpl error messages TimeZoneMgrImpl error messagesStatusReasonMgrImpl error messages ServiceMgrImpl error messages Error Code Error Message UserPropertiesServlet error messages UserDataMgrImpl error messages VoicemailMgrImpl error messagesDeviceMgrImpl error messages IPCMMgrImpl error messages UserTimeMgrImpl error messages Error Code Error Message Error Code Error Message Page Page Multimedia Communication Server