Nortel Networks NN42020-123 manual opiclient\com\client\opi\service

Page 20

Copyright © Nortel Networks Limited 2006

20

This creates the client stubs under

d:\opiclient\com\client\opi\service

and the client data objects (beans) under

d:\opiclient\com\nortelnetworks\ims\opi.

The namespace mapping from OPI to com.client.opi.service can be changed to another mapping of choice.

Note: The OPISoapBindingStub.java that is generated under com\client\opi\service will have a large static block that will not compile. This file must be edited by hand to split the large static block into two to three smaller ones so that it compiles. This is a known issue due to the fact that the code is auto generated.

3Compile the files that were generated in the above step using either command line ’javac’ or an IDE like netbeans or eclipse, and put them into a separate folder.

In the example javac is used (shown in the following screenshot). A folder called classes was created in this example, and the generated class files put into it.

NN42020-123 MCS 5100 3.5 Standard 4.0 4.0 January 2006

Image 20
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 stubsAuthentication and authorization Implement interface accessing stubsAccess stubs from the third-party application AuthenticationAuthorization Domain-level authorization Provisioning-Level authorizationProvisioning Interface Success indication on remove methodsDeprecated methods and method fields ExampleProvisioning data visibility PROV606 logsDeprecated method elements Sheet 1 Affected method Deprecated method elements Sheet 2 Affected method Deprecated method elementPage 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 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 PersonalAddrBookCondMgr error messages AddressBookGroupCondMgr error messagesGlobalAddrBookCondMgr error messages BannedSubscriberMgrImpl error messages PhoneNumberCondMgr error messagesTimeBlockGroupCondMgr 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