While the information in this document is believed to be accurate and reliable, except as otherwise expressly
agreed to in writing NORTEL PROVIDES THIS DOCUMENT "AS IS" WITHOUT WARRANTY OR CONDITION OF
ANY KIND, EITHER EXPRESS OR IMPLIED. The information and/or products described in this document are
subject to change without notice.
Nortel, the Nortel logo, and the Globemark are trademarks of Nortel Networks.
All other trademarks are the property of their respective owners.
.
Page 3
.
Contents
New in this release5
Other changes5
Introduction7
Audience7
Related documents7
Application Programming Interface fundamentals9
Open Provisioning Interface fundamentals9
Bulk Provisioning Tool fundamentals10
Using the Bulk Provisioning Tool13
Install and launch the BPT13
BPT main menu13
BPT provisioning methods16
BPT files and scripts16
BPT conventions and examples17
BPT Help option24
BPT limitations25
3
Why use the Bulk Provisioning Tool10
Bulk Provisioning Tool requirements11
Files16
Scripts17
Method and file syntax conventions17
Create and manage provisioning roles using the BPT21
BPT mapping to the Provisioning Client25
Batch processing26
Resource use26
Provisioning data visibility27
Using the Open Provisioning Interface29
Security, authentication, and authorization29
Security29
Authentication30
Authorization32
Third-party client development33
Nortel Application Server 5300 Application Programming Interfaces Reference
Get the WSDL33
Generate stubs33
Implement interface accessing stubs34
Access stubs from the third-party application34
Starting the Bulk Provisioning Tool35
Downloading the Bulk Provisioning Tool to a workstation36
Launching the BPT on a workstation36
Creating Open Provisioning Interface clients39
Downloading the Axis toolkit41
Retrieving the error codes41
Configuring the class path41
Downloading the WSDL file42
Compiling the client stubs42
Writing a client to perform some specific OPI operations43
Accessing the OPI Java docs47
Importing a CA Certificate into the BPT51
Nortel Application Server 5300 Application Programming Interfaces Reference
This document discusses the Nortel Application Server (AS) 5300
Application Programming Interface (API) available to third party clients
for provisioning and administering the AS 5300 system from a remote
workstation.
Attention:Some services/features referred to in this document are not
supported in AS 5300 Release 1.0. For more information about what
services/features are supported in AS 5300 Release 1.0, see NortelApplication Server 5300 Overview, (NN42040-100).
The Application Server (AS) 5300 provides Application Programming
Interface (API) support for third-party client applications. This support
consists of one main API and one tool:
•
Open Provisioning Interface (OPI)
•Bulk Provisioning Tool (BPT)
Open Provisioning Interface (OPI) is an API for third-party client
applications, and is the foundation for the Bulk Provisioning Tool (BPT).
The BPT facilitates the provisioning of the AS 5300 system with large
(bulk) amounts of data. It also retrieves large (bulk) amounts of data from
the AS 5300 system.
The OPI is used to remotely provision the AS 5300 system. OPI is
based on version 1.1 of the Simple Object Access Protocol (SOAP)
and the emerging Web services standard. SOAP is a cross-platform,
cross-language, text-based protocol, utilizing the benefits of Extensible
Markup Language (XML). SOAP is commonly used as a tool in distributed
applications named Web services. SOAP is not transport dependent,
therefore OPI uses Hyper Text Transfer Protocol (HTTP) as a transport
protocol.
OPI supports version 1.1 of the industry-standard Web Services
Description Language (WSDL). WSDL is an XML language that contains
information about the interface, semantics, and administration of a call to a
Web service. WSDL enables service providers to provision their AS 5300
system with existing and custom applications. By supporting the WSDL
Nortel Application Server 5300 Application Programming Interfaces Reference
standard, service providers rapidly develop client-side code with standard
toolsets. A detailed description of the WSDL standard is available online at
the World Wide Web Consortium (W3C) web site at w
The goal of OPI is to allow customer-specific applications to interface with
the AS provisioning system. Once developed, the application passes an
object to a generated stub. The stub translates the object into a SOAP
message and passes it along 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 the interface with the Oracle Database. The translations happen
in reverse from the database to the customer application.
Bulk Provisioning Tool fundamentals
The Bulk Provisioning Tool (BPT) enables administrators to provision
Application Server (AS) 5300 services from outside the Provisioning Client.
It enables both bulk transactions and individual requests. The BPT is built
on the Open Provisioning Interface (OPI), and accesses all the commands
available through the OPI.
ww.w3.org/TR/wsdl.
Communications between the BPT and the Provisioning server use the
OPI. OPI itself is the Simple Object Access Protocol (SOAP) over HTTP.
Attention:Do not use the BPT for large transactions during regular
business hours. In deployments where the BPT uses the same network
(LAN) as the LAN processing sessions, large BPT transactions may impact
network performance.
Why use the Bulk Provisioning Tool
The BPT is extremely useful for provisioning systems with numerous
subscribers. Some of the scenarios where administrators benefit from
using the BPT are:
•adding a large number of subscribersThe BPT provides bulk imports of
provisioning data from text files. The files can be generated from other
applications.
•exporting provisioning dataThe BPT provides bulk exports of
provisioning data, writing it to files. The files can then be used with
other applications.
•modifying a large number of subscribersThe BPT enables bulk
modifications, such as modifying subscriber service packages when
new features are added.
•extracting information from the database for reporting purposesFor
example, a list of provisioned subscribers can be extracted from the
Nortel Application Server 5300 Application Programming Interfaces Reference
database with the BPT and compared against active subscribers listed
in the Internet Protocol Detail Record (IPDR) accounting records. As
another example, a list of gateways can be extracted and imported into
a downstream billing application.
Bulk Provisioning Tool requirements
The following table lists the requirements to run the BPT.
Table 2
Bulk Provisioning Tool requirements
Bulk Provisioning Tool fundamentals11
Minimum PC or terminal
requirements
For telnet remote accessCompatible (tested) telnet terminals:
Java 1.6 + JRE in the system classpath
•
Windows Telnet client
•Putty
•
Hummingbird Telnet
•
KevTerm
Noncompatible telnet terminals:
•CRT
Log on requirementTo begin a BPT session, the administrator needs to be, at minimum,
a provisioned general administrator.
Nortel Application Server 5300 Application Programming Interfaces Reference
Entering 0 (zero) returns you to the parent of a submenu.
The provisioning method name appears inside the parentheses that follow
the provisioning method description in the menu. The menu structure is
only for usability. Any provisioning method can be entered at the prompt,
regardless of the menu opened.
For example, if you want to execute the getRootDomain provisioning
method, you do not need to be in the Domain Operations menu.
The following table lists the available BPT main menu commands.
Table 3
BPT main menu commands
BPT main menu15
Command
0
1-97
98 <file name>
99
quit
help
help <method name>
<method name> using (<parm a>,
<parm b>)
<method name> using file <file
name>
<method name> using * into
<file name>
Description
Return to the previous menu.
Execute the given method or continue to a submenu.
Execute all methods inside the specified file. Each line in
the file must be a method in a valid format.
Exit the BPT.
Exit the BPT.
Display this list of commands.
Display the usage for a given method.
Execute the given method with the required parameters.
The parameter list must be separated by commas
and must adhere to the order presented in the syntax
description. If no parameters are required, this can be left
blank.
Execute the given method with the parameters contained
in the specified file. This command is useful for bulk
additions (for example, users, telephones), allowing the
separation of the definition and execution of the method.
Execute the given method (using either command line
options or parameters from a file) and insert the returned
value into the specified file. This is useful when exporting
bulk data, such as 1000 users, and you want to save the
output.
For information about BPT command syntax conventions and examples, see "BPT
conventions and examples" (page 17).
Nortel Application Server 5300 Application Programming Interfaces Reference
For information about BPT command syntax conventions and examples, see "BPT
conventions and examples" (page 17).
Description
Execute all the methods contained in the specified file.
Each line in the file must be a method in the valid format.
Execute all the methods contained in the specified file and
writes the output to a second file instead of writing the
output to the screen. Each line in the input file must be a
method in the valid format.
BPT provisioning methods
The BPT provisioning methods are the same as the Open Provisioning
Interface (OPI) provisioning methods. OPI provisioning methods are a
collection of Web services that you use to provision subscribers, and
service data for the subscribers. The detailed documentation for each
of the OPI Web services is available in a zip file (OPIJavaDocs.zip)
included on the AS 5300 Documentation CD.
To access the OPI Web services documentation, see "Accessing the OPI
Java docs" (page 47).
BPT files and scripts
Files and scripts are important when performing bulk provisioning
transactions. Files enable the import and export of many database entries.
Scripts enable administrators to execute multiple BPT provisioning
methods in one step.
This section describes the role of files and scripts in the Bulk Provisioning
Tool.
Navigation
•"Files" (page 16)
•"Scripts" (page 17)
Files
Most of the BPT provisioning methods have the option of using text files.
Provisioning data can be imported from a file and put into the database, or
exported from the database and written to text files.
Text file (*.txt) contents use the comma separated value (CSV) format. By
using this format, files can be generated by, or imported into, third-party
applications that recognize the CSV file content.
Nortel Application Server 5300 Application Programming Interfaces Reference
Files must use a specific syntax for a BPT provisioning method to be
invoked successfully on the Provisioning Server. You can view the
required file syntax by using the BPT Help option ("BPT Help option" (page
24)).
Scripts
A script is basically a text file, where each line of the file consists of a
single provisioning method. When executed, each provisioning method
in the script is invoked sequentially and can reference a separate file for
importing or exporting data. Each provisioning method and its referenced
file must use the correct syntax for the script to be executed successfully.
An exclamation mark (!) is used at the start of a line to add a comment line
in the script file (for example: !- script updated 2008.04.01)
BPT conventions and examples
This section describes the command syntax and usage conventions for
Bulk Provisioning Tool (BPT) provisioning methods and an example of a
provisioning method.
BPT conventions and examples17
Navigation
•"Method and file syntax conventions" (page 17)
•
"Create and manage provisioning roles using the BPT" (page 21)
Method and file syntax conventions
This section describes the command syntax that must be used for
executing BPT provisioning methods from the BPT command line and
BPT input files.
Navigation
•"Optional syntax" (page 18)
•
"Brackets" (page 18)
•
"Angle brackets" (page 18)
•"Square brackets" (page 19)
•"Bar" (page 19)
•"Comma separated strings" (page 20)
•"Fully qualified user name" (page 20)
•"Success indication on remove methods" (page 20)
•"Unknown error messages" (page 21)
Nortel Application Server 5300 Application Programming Interfaces Reference
In BPT provisioning method syntax, the word [optional] indicates that what
follows is optional and is not needed to invoke the method. Typically,
the option is the writing of the returned values to a text file. You do not
include [optional] when entering the syntax. For example, the following is
the complete syntax for the getSysRoles method:
getSysRoles [optional] into <file name>
To write the returned information to the screen, you use the syntax:
getSysRoles. To write the returned information to a file named
roles.txt, you use the syntax: getSysRoles into roles.txt. The
system creates the file with the name entered in the BPT command line.
When a get* command is not limited to a specific instance (for example,
getSysRoles or getAllRights), you cannot use the shortcut number
(BPT main menu option) when writing to a file. You must enter the BPT
provisioning method syntax on the BPT command line. If you use the
shortcut number, the returned information is written to the screen by
default.
Brackets
Brackets () are required around the parameters when shown in the BPT
provisioning method syntax. For example, the following is the syntax for
the getRole provisioning method:
getRole using (Role name) | file <file name> [optional] into
<file name>
With this provisioning method, brackets are required around the
provisioning Role name. For example, to retrieve the definition for the
configured SuperUser role, you use the following syntax: getRoleusing (SuperUser).
Angle brackets
Angle brackets (<>) in the syntax indicate a variable. You replace the
variable name and angle brackets with the specific variable when you
invoke the provisioning method. For example, the following is the syntax
for the getSysRoles provisioning method:
getSysRoles [optional] into <file name>
With this provisioning method, the angle brackets indicate that file name
is a variable, replaced when using the provisioning method. For example,
if you want to write the returned values to a file name called roles.txt,
you use the syntax: getSysRoles into roles.txt.
Nortel Application Server 5300 Application Programming Interfaces Reference
Square brackets ([ ]) in the syntax indicate a string of variables, separated
by commas. The square brackets must be included when shown in the
BPT provisioning method syntax. For example, the following is the syntax
for the addRole provisioning method:
addRole using ([Name of the Provisioning Role,Description
of the Role,[[The Provisioning Right Type,The Read
privilege,The write privilege,The delete privilege], ..
,[The Provisioning Right Type,The Read privilege,The write
privilege,The delete privilege]]]) | file <file name>
[optional] into <file name>
With this provisioning method, the square brackets separate fields
of the role description being added. For example, if you are adding
a role called AddExample, the syntax looks like: addRole using
A bar (|) in the syntax means that there are two ways of entering the
required provisioning method information. Typically, the bar is used for the
data entry option—entering the data in the command line or using data in a
file. For example, the following is the syntax for the getRole provisioning
method:
getRole using (Role name) | file <file name> [optional] into
<file name>
With this provisioning method, you can enter the Role name in the BPT
command line, or enter it using a file. For example, the following is the
syntax for invoking the provisioning method on the BPT command line for
the Superuser role: getRole using (SuperUser).
Optionally, you can invoke the provisioning method using the Role name
listed in a file. For example, the following is the syntax to invoke the
provisioning method using a file (containing the Superuser role) called
SuperUser_role.txt: getRole using file SuperUser_role.txt.
The contents of the file must be in the correct format. Use the help
command to display the BPT required file format. Note in the above
example, that the role name in the file is not enclosed in brackets as it is if
this method is invoked from the BPT command line.
Nortel Application Server 5300 Application Programming Interfaces Reference
Provisioning method syntax can include a string of comma-separated
variables. For example, the following is the syntax for the addAdmin
provisioning method:
addAdmin using ([The Admin user name,Password,Admin
First Name,Admin Last Name,Admin Status,Admin Email
Address,Office Phone Number,Home Phone Number,Cell Phone
Number,Pager Number,Fax Number,Voicemail Number,VPN
Number,System defined role,Time Zone,Locale,Provisioning
Role,[The list of Domains that he is assigned to, ..,The
list of Domains that he is assigned to]]) | file <file name>
[optional] into <file name>
Follow the required format when invoking the provisioning method
from the BPT command line or using a file. If nothing appears
between two commas, the associated field in the database is
not updated. For example, the following addAdmin provisioning
method contains minimal administrator information, but still
requires the commas to denote the blank fields: addAdmin using
Some methods require a fully qualified user name—a user name that is
complete with the domain name (for example, joe@mydomain.com). This
information is available in the Provisioning Client field descriptions.
Success indication on remove methods
Some BPT provisioning methods can remove data, and return an
indication of success even if the data did not preexist in the database. This
mirrors the functionality of the database. A success indication for a remove
provisioning method, indicates that the associated data no longer exists
in the database.
When possible, BPT provisioning methods provide additional indication (in
the form of an error message) regarding specific data elements (domain
and devices) that are not preexisting in the database when the remove
method is invoked. These messages appear on the BPT screen.
For example, if the domain nn.com does not exist, an invocation of
removeUser using (jimbob@nn.com) returns an error indication of
Invalid Data:Domain Not found ’nn.com’, because the domain
is not valid.
If the domain is valid and the user is not preexisting, then a success
indication is returned, because the user is not configured on the system.
Nortel Application Server 5300 Application Programming Interfaces Reference
If an unknown error occurs when invoking a method, the BPT prompts
the administrator to check the logs for more information. The logs are not
accessible to the BPT user. If you see this error message and cannot
proceed with the BPT provisioning task, contact your next level of support.
Create and manage provisioning roles using the BPT
This section describes how to create and manage a provisioning role using
the Bulk Provisioning Tool (BPT).
Navigation
•
"Define the new provisioning role" (page 21)
•"Add the new provisioning role" (page 22)
•"View the new provisioning role" (page 22)
•"Delete the new provisioning role" (page 23)
Define the new provisioning role
Use the following provisioning method to add a new provisioning role using
the BPT file method:
addRole using ([Name of the Provisioning Role,Description
of the Role,[[The Provisioning Right Type,The Read
privilege,The write privilege,The delete privilege], ..
,[The Provisioning Right Type,The Read privilege,The write
privilege,The delete privilege]]]) | file <file name>
[optional] into <file name>
Assume that you are adding a new role with the following properties:
Table 4
Role properties
Role name:ExampleRole
Role Description:BPT Add example
Domain Management privileges:R, W
Device Management privileges:R
Admin privileges:R,W,D
Enter the provisioning role properties outlined in the previous
table into a file named addexample.txt located in a local
directory (D:\prov) of your work station. The contents of the file
(on one line in the file) are as follows: [AddExample,BPT add
BPT provisioning methods are identical to OPI provisioning methods. The
BPT Help option enables you to view the required syntax for a BPT (OPI)
provisioning method and its associated text file.
For example, to view the help on the addRole provisioning method, enter:
help addRole
or, if using the BPT Main menu number shortcut, enter: help 1
The BPT displays the BPT (OPI) provisioning method syntax, followed by
the required file syntax, as shown in the following figure.
Nortel Application Server 5300 Application Programming Interfaces Reference
Attention:The BPT Help function only contains the syntax of the BPT
(OPI) provisioning methods and associated file contents. For more
information about the parameters available for each OPI provisioning
method, see AS 5300 Provisioning Client Help, NN42040-502.
BPT limitations
The following sections describe certain limitations that you must be aware
of when using the Bulk Provisioning Tool.
Navigation
•"BPT mapping to the Provisioning Client" (page 25)
•"Batch processing" (page 26)
•
•"Provisioning data visibility" (page 27)
BPT mapping to the Provisioning Client
There is not a one-to-one mapping between BPT provisioning methods
and Provisioning Client screens. Most, but not all, individual BPT
provisioning methods map to a provisioning screen in the Provisioning
Client.
"Resource use" (page 26)
Nortel Application Server 5300 Application Programming Interfaces Reference
In most cases, variables and properties used by the BPT provisioning
methods map to fields in the Provisioning Client. For Provisioning Client
field descriptions, see AS 5300 Provisioning Client Help, NN42040-502.
For example, the addRole provisioning method maps to the Add a NewRole window of the Provisioning Client (Admins > Add Roles).
Batch processing
A maximum of 1000 entries are processed together at a time. All bulk
processing is on an all-or-none basis.
For example, you can do a bulk add of 3000 subscribers to the system
from a file. Each subscriber is one line in the file. The BPT processes the
information in three blocks of 1000 lines each. If an error occurs during
processing of a block, such as a user name already in use, the BPT will
not process any lines in that block.
Resource use
The BPT processes the provisioning information before uploading it
to the database. During the processing, the BPT uses all available
CPU resources, whether the processing is performed on a server or a
workstation. CPU usage declines as the provisioning data is uploaded to
the database.
When performing bulk provisioning using files with a large number of
entries, use a BPT residing on a workstation. Performing the task on
a server can affect the performance of in-progress sessions using the
component services running on the server.
Nortel recommends using the BPT during off-peak times or maintenance
windows when large amounts of information are being added.
Bulk provisioning of users
Bulk provisioning of users (through BPT or an OPI client) puts a large
load on the database in the AS 5300 system. Therefore, bulk provisioning
must be throttled to prevent the database from becoming overloaded
while handling the BPT "add user" requests. The BPT or OPI client must
implement the following required sleep/wait times between "add user"
requests when adding users in bulk:
•For a system running at 80 percent call capacity, add 500 users at
a time. Sleep/wait at least 300 seconds before adding the next 500
users. This rate is approximately 6000 users added an hour.
•For a system running at 20 percent call capacity, add 500 users at
a time. Sleep/wait at least 225 seconds before adding the next 500
users. This rate is approximately 8000 users added an hour.
Nortel Application Server 5300 Application Programming Interfaces Reference
Provisioning data added using the BPT is immediately available to other
provisioning clients connected to the same instance of the Provisioning
Manager. However, it can take up to five minutes before the same data
is visible to clients connected to a second instance of a Provisioning
Manager running in the system.
BPT limitations27
Nortel Application Server 5300 Application Programming Interfaces Reference
The Provisioning Server authenticates each request to ensure that the
request is received from a valid client application. The client application
needs to provide a user identity (user name) and authentication
information (password) in the HTTP/SOAP request.
The supported authentication mechanisms are HTTP Basic Authentication
– Onboard Authentication and WS-Security UsernameToken.
The username and password of the user are configured in the HTTP
Headers. The following figure shows a sample HTTP header/SOAP
message with the required information.
Figure 7
Sample HTTP header/SOAP message
WS-Security UsernameToken
The user’s username and password are configured in the WS Security
Headers. A sample WS-Security header/SOAP message with the required
information is shown in the following figure.
Nortel Application Server 5300 Application Programming Interfaces Reference
The authentication headers for AXIS toolkit-generated stubs are set on the
client stub as described in the preceding example. In that scenario, the
client stub is cast down to a org.apache.axis.client.Stub object. In the case
of a .NET client, this must be done differently. The AS 5300 OPI currently
supports HTTP and HTTPS authentication and the authentication headers
must be set to Base64 encoded authentication on the client side.
The sample code in the following figure shows how to set the
authentication headers for a .NET client. The code must be added in the
stub class so that it may hijack the request and add the headers to it.
Nortel Application Server 5300 Application Programming Interfaces Reference
After the OPI request is authenticated, you must be authorized before
performing the action. The authorization includes both domain-level
authorization and provisioning-level authorization. If either authorization
fails, a SOAP fault is sent back, indicating the reason for failure, and the
action is not performed.
Navigation
•"Domain-level authorization" (page 32)
•"Provisioning-level authorization" (page 32)
Domain-level authorization
Each administrator is assigned one or more domains for access and
control, which can be overridden by the All domain access in role
creation. For instance, the AS 5300 system might consist of three
separate domains, Widget.com, Gadget.com, and Sprocket.com. An
administrator, WidgetAdmin, can be created with only Widget.com in the
list of provisionable domains. This limits WidgetAdmin to provisioning
activities inside the Widget.com domain only, and does not permit access
to the other domains. Therefore, if a request from WidgetAdmin comes in
to modify a user outside of the Widget.com domain, it is rejected because
it failed authorization. In addition, attempts to list domain information can
only return Widget.com information.
Provisioning-level authorization
The Provisioning Manager of the AS 5300 system is broken into various
major categories (Domains, Users, Telephony Routes, and so on). The
provisioning system enables the creation of various administrator roles
Nortel Application Server 5300 Application Programming Interfaces Reference
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.
Third-party client development33
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 Application Server 5300 Application Programming Interfaces Reference
You generate stubs using a supported toolset. Currently, only the
1.3 Final version of the Apache Axis (Apache Extensible Interaction
System w
s.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 Application Server 5300 Application Programming Interfaces Reference
This chapter contains the procedures necessary to start the Bulk
Provisioning Tool (BPT) on a remote workstation. This facilitates the use
of files and scripts without affecting the performance of the server hosting
the Provisioning Manager.
Starting the Bulk Provisioning Tool
35
Nortel Application Server 5300 Application Programming Interfaces Reference
This chapter describes the steps necessary to create Open Provisioning
Interface (OPI) clients and provides an example of how to write a client to
perform specific OPI provisioning methods.
Prerequisites for creating OPI clients
You must:
•have a working knowledge of Java application development.
•
be comfortable using DOS commands.
•have the Java Developer Kit (JDK) 1.6.
•
have the Java executable available in the system path.
•
have the AXIS toolkit version 1.3 Final.
39
Attention:Toolkits other than the Axis toolkit can be used to develop
OPI clients using the WSDL file.
Creating OPI clients
The following task flow shows the processes involved in creating OPI
clients.
Nortel Application Server 5300 Application Programming Interfaces Reference
under com\client\opi\service, has a large static block
that will not compile. You must edit this file by hand to split
the large static block into two or three smaller ones so that it
compiles. This is a known issue due to the fact that the code is
automatically generated.
3
Compile the files that are generated in the previous step using
either the command line command javac or an Interactive
Development Environment (IDE) such as netbeans or
eclipse, and save them in a separate folder.
The Client classes are now ready to be used.
--End--
Writing a client to perform some specific OPI operations
Use this procedure to write a client to perform some specific OPI
operations.
Once the OPI stubs have been generated and compiled, the real OPI
client can be constructed and OPI provisioning method calls can be made
using the following procedure.
Procedure Steps
StepAction
1Instantiate the OPIServiceLocator.
Nortel Application Server 5300 Application Programming Interfaces Reference
Writing a client to perform some specific OPI operations45
The client class can be compiled similarly to the compilation of the OPI
Stubs, and executed. The OPI Stub classes and AXIS toolkit jars must be
present in the classpath during execution, as demonstrated in the following
figure.
Nortel Application Server 5300 Application Programming Interfaces Reference
This procedure describes how to access the Open Provisioning Interface
(OPI) Java docs. These Java docs represent the various categories of
OPI web services available. Each OPI web service category contains a
description of the OPI web service in general, and descriptions of each
associated provisioning operation (OPI provisioning method) and bean
objects.
WSVersionOPI is a special OPI web service that provides the current
Web Services Description Language (WSDL) version. Each OPI web
service has an associated WSDL version. You must configure the
appropriate WSDL version in the SOAP header for every OPI web service
you request.
Procedure Steps
StepAction
47
1
Nortel Application Server 5300 Application Programming Interfaces Reference
Release: 1.0
Publication: NN42040-110
Document status: Standard
Document revision: 01.01
Document release date: 11 June 2008
To provide feedback or to report a problem in this document, go to www.nortel.com/documentfeedback.
www.nortel.com
Sourced in Canada
LEGAL NOTICE
While the information in this document is believed to be accurate and reliable, except as otherwise expressly agreed to in writing
NORTEL PROVIDES THIS DOCUMENT "AS IS" WITHOUT WARRANTY OR CONDITION OF ANY KIND, EITHER EXPRESS
OR IMPLIED. The information and/or products described in this document are subject to change without notice.
Nortel, the Nortel logo, and the Globemark are trademarks of Nortel Networks.
All other trademarks are the property of their respective owners.
.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.