Get the wsdl, Generate stubs – Nortel Networks NN42020-123 User Manual

Page 9

Advertising
background image

Open Provisioning Interface Reference Guide

9

Copyright © Nortel Networks Limited 2006

Get the WSDL

The WSDL file for MCS is stored on the server hosting the Provisioning
Module. You can view and download the WSDL using a web browser.

Note: By definition, all the OPI commands (methods) are listed in
the WSDL.

From a workstation

1

Open a web browser

2

To display the WSDL in the web browser, navigate to the
following URL

http://<provclientIP>/prov/services/OPI?WSDL

Where:
<provclientIP> is the IP address used by the Provisioning Client

3

Download the WSDL file

Generate stubs

The stub is basically a translator. It takes the “user” object (whatever
type of object) from the interface and converts it to a SOAP message
and sends it to the Provisioning Module. Likewise, a SOAP message
from the Provisioning Module is translated back to the object. HTTP is
used as the transport for OPI. The Provisioning Module listens on port
80 for the SOAP over HTTP messages.

Figure 2 Interactions of the stub

Stubs are generated using a supported toolset. Currently, only the
Apache AXIS 1.0 (Apache extensible Interaction System
http://ws.apache.org/axis) toolset has been 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 yet been completed. Other

Stub

Provisioning
Module

Third Party
Application

object

SOAP over HTTP

port 80

Advertising