Nortel Networks AS 5300 manual Implement interface accessing stubs

Page 34

34Using the Open Provisioning Interface

Figure 10

Interactions of the stub

You generate stubs using a supported toolset. Currently, only the

1.3Final version of the Apache Axis (Apache Extensible Interaction System ws.apache.org/axis) toolsets are tested and approved. Axis is Java-specific and creates a Java stub. The OPI WSDL may work with other toolsets, but thorough testing has not been completed.

For instructions to download the Axis toolset, see "Downloading the Axis toolkit" (page 41).

Implement interface accessing stubs

An interface must be developed to access the stubs. The interface must support authentication on each OPI request.

If the credentials are not present or validation fails, a SOAP fault is sent back to indicate the failure and the action is not performed.

Access stubs from the third-party application

When the interface accesses or invokes the stubs, the stub generates a SOAP message that is sent to the Provisioning Manager on port 8443 or 8080. The stub is basically a translator. It takes the "user" object (whatever type of object) from the interface, converts it to a SOAP message, and sends it to the Provisioning Manager. The skeleton on the server with the Provisioning Manager does the reverse, takes the SOAP message, translates it back to a user object (whatever type of object), and sends it to the Provisioning Manager data store, which stores it in the database.

Nortel AS 5300

Nortel Application Server 5300 Application Programming Interfaces Reference

NN42040-110 01.01 Standard

11 June 2008

Copyright © 2008 Nortel Networks

Image 34
Contents NN42040-110 Legal Notice Contents Starting the Bulk Provisioning Tool New in this release Other changesNew in this release Audience IntroductionNavigation Related documentsIntroduction Application Programming Interface fundamentals Open Provisioning Interface fundamentalsWhy use the Bulk Provisioning Tool Bulk Provisioning Tool fundamentalsBulk Provisioning Tool requirements Following table lists the requirements to run the BPTApplication Programming Interface fundamentals Install and launch the BPT Using the Bulk Provisioning ToolBPT main menu BPT main menu Quit Navigation BPT provisioning methodsBPT files and scripts FilesScripts BPT conventions and examplesMethod and file syntax conventions Angle brackets Optional syntaxBrackets GetSysRoles optional into file nameSquare brackets BarFully qualified user name Comma separated stringsSuccess indication on remove methods Create and manage provisioning roles using the BPT Unknown error messagesDefine the new provisioning role Add the new provisioning role AddRole using file D\prov\addexample.txtGetRole using AddExample View the new provisioning roleDelete the new provisioning role BPT Help option Help addRoleBPT limitations BPT mapping to the Provisioning ClientBatch processing Resource useProvisioning data visibility Using the Bulk Provisioning Tool Security, authentication, and authorization Using the Open Provisioning InterfaceSecurity Http Basic Authentication Onboard Authentication AuthenticationWS-Security UsernameToken Special note for .NET authentication headers Authorization Domain-level authorization Provisioning-level authorizationGenerate stubs Third-party client developmentGet the Wsdl WsdlImplement interface accessing stubs Access stubs from the third-party applicationStarting the Bulk Provisioning Tool Starting the Bulk Provisioning ToolDownloading the Bulk Provisioning Tool to a workstation Procedure StepsLaunching the BPT on a workstation Launching the BPT on a workstation Starting the Bulk Provisioning Tool Prerequisites for creating OPI clients Creating Open Provisioning Interface clientsCreating OPI clients Task flow for creating OPI clients Configuring the class path Retrieving the error codesDownloading the Axis toolkit \axis-14\webapps\axis\WEB-INF\lib\opiclient Downloading the Wsdl fileCompiling the client stubs Loadname/wsdl/opi\opi\service Writing a client to perform some specific OPI operationsExample Writing a client Writing a client to perform some specific OPI operations Compiling the client class Accessing the OPI Java docs Procedure StepsAdminAuthentication subfolder in the OPI Java Docs folder Writing a client to perform some specific OPI operations Accessing the OPI Java docs Tool prompts Trust this certificate? no Importing a CA Certificate into the BPTKeytool -list -v -keystore opitruststore Importing a CA Certificate into the BPT Page Nortel AS
Related manuals
Manual 92 pages 3.24 Kb