Nortel Networks AS 5300 manual Third-party client development, Get the Wsdl, Generate stubs

Page 33

Third-party client development 33

across these categories. Upon creation, the administrator is assigned to a particular role. This enables the service provider to create various administrator roles to suit specific needs. In each category, the role can have any combination of the following rights: Read, Write, and Delete. For example, a user admin role can be created which gives the ability to read domain information, and to read, modify, and delete user information. The administrators given this role cannot manipulate the telephony routes, or other areas of the AS 5300 system. OPI authorizes each request to verify that the incoming credentials have the appropriate role to perform the given action.

Third-party client development

This section describes the steps necessary to develop third-party

Provisioning clients.

OPI provides customer-specific applications with an interface into the

AS 5300 provisioning system. The customer application passes an object to a generated stub. The stub translates the object into a SOAP message and passes it to the skeleton in the Provisioning Manager. The skeleton translates the SOAP message back to an object, and sends it to the Provisioning Manager data access processes. The data access processes communicate with the Oracle Database. The translations happen in reverse from the Provisioning Manager to the customer application.

Navigation

"Get the WSDL" (page 33)

"Generate stubs" (page 33)

"Implement interface accessing stubs" (page 34)

"Access stubs from the third-party application" (page 34)

Get the WSDL

The WSDL file for AS 5300 is stored on the System Manager server. Retrieve the file from the loads directory on the System Manager server, located at /var/mcp/loads/<loadname>/clientAPI/wsdl/opi/*

.wsdl.

Generate stubs

The stub is a translator. It takes the OPI object, converts it to a SOAP message and sends it to the Provisioning Manager. Likewise, a SOAP message from the Provisioning Manager is translated back to an OPI object. HTTP and HTTPS are used as the transport for OPI. The Provisioning Module listens on port 8080 for the SOAP over HTTP messages, and port 8443 for the SOAP over HTTPS messages.

Nortel AS 5300

Nortel Application Server 5300 Application Programming Interfaces Reference

NN42040-110 01.01 Standard

11 June 2008

Copyright © 2008 Nortel Networks

Image 33
Contents NN42040-110 Legal Notice Contents Starting the Bulk Provisioning Tool Other changes New in this releaseNew in this release Navigation IntroductionAudience Related documentsIntroduction Open Provisioning Interface fundamentals Application Programming Interface fundamentalsBulk Provisioning Tool fundamentals Why use the Bulk Provisioning ToolFollowing table lists the requirements to run the BPT Bulk Provisioning Tool requirementsApplication Programming Interface fundamentals Using the Bulk Provisioning Tool Install and launch the BPTBPT main menu BPT main menu Quit BPT files and scripts BPT provisioning methodsNavigation FilesBPT conventions and examples ScriptsMethod and file syntax conventions Brackets Optional syntaxAngle brackets GetSysRoles optional into file nameBar Square bracketsComma separated strings Fully qualified user nameSuccess indication on remove methods Unknown error messages Create and manage provisioning roles using the BPTDefine the new provisioning role GetRole using AddExample AddRole using file D\prov\addexample.txtAdd the new provisioning role View the new provisioning roleDelete the new provisioning role Help addRole BPT Help optionBPT mapping to the Provisioning Client BPT limitationsResource use Batch processingProvisioning data visibility Using the Bulk Provisioning Tool Using the Open Provisioning Interface Security, authentication, and authorizationSecurity Authentication Http Basic Authentication Onboard AuthenticationWS-Security UsernameToken Special note for .NET authentication headers Domain-level authorization Provisioning-level authorization AuthorizationGet the Wsdl Third-party client developmentGenerate stubs WsdlAccess stubs from the third-party application Implement interface accessing stubsStarting the Bulk Provisioning Tool Starting the Bulk Provisioning ToolProcedure Steps Downloading the Bulk Provisioning Tool to a workstationLaunching the BPT on a workstation Launching the BPT on a workstation Starting the Bulk Provisioning Tool Creating Open Provisioning Interface clients Prerequisites for creating OPI clientsCreating OPI clients Task flow for creating OPI clients Downloading the Axis toolkit Retrieving the error codesConfiguring the class path \axis-14\webapps\axis\WEB-INF\libCompiling the client stubs Downloading the Wsdl file\opiclient Loadname/wsdl/opiWriting a client to perform some specific OPI operations \opi\serviceExample Writing a client Writing a client to perform some specific OPI operations Compiling the client class Procedure Steps Accessing the OPI Java docsAdminAuthentication subfolder in the OPI Java Docs folder Writing a client to perform some specific OPI operations Accessing the OPI Java docs Importing a CA Certificate into the BPT Tool prompts Trust this certificate? noKeytool -list -v -keystore opitruststore Importing a CA Certificate into the BPT Page Nortel AS
Related manuals
Manual 92 pages 3.24 Kb