CORBA Programmer's Guide
Appendix C: Sample CORBA Client Package (BTSxsdk) Implementation

Table Of Contents

Sample CORBA Client Package (BTSxsdk) Implementation

Prerequisites

OpenORB Settings

Build the BTSxsdk

Run BTSxsdk


Sample CORBA Client Package (BTSxsdk) Implementation


This appendix details a sample implementation of a CORBA Client Package (BTSxsdk). BTSxsdk is an Software Development Kit (SDK) that implements a sample CORBA client for connecting the Cisco BTS 10200 Softswitch through the CORBA adapter. Users can use this SDK as a starting point to develop their own client programs. Successfully running this SDK also verifies the correct installation of the CORBA adapter (BTScis package) on an Element Management System (EMS).

Prerequisites

The following prerequisites apply when implementing the BTSxsdk package:

BTSxsdk package must be installed on a UNIX machine that is in the same intranet as the EMS where the CORBA adapter is installed.

Java Development Kit (JDK) 1.4.1_01 or later is installed. This document assumes that the JDK is installed under /usr/java.

Users must be familiar with the Cisco BTS 10200 Softswitch Command Line Interface (CLI) adapter commands.

OpenORB Settings

The OpenORB package requires a modification to the JDK. It updates properties in the JDK to enable it to point to the OpenORB implementation for the CORBA interface objects. There are two ways to modify JDK for OpenORB:

The Cisco BTS 10200 Softswitch c package BTSoorb automatically updates the JDK during installation

Type the following commands in the order given:

cd /opt/BTSxsdk/oorb/lib

java -jar openorb-1.3.1.jar

Build the BTSxsdk

To build a sample client application, perform the following steps:


Step 1 Go to the BTSxsdk directory.

cd /opt/BTSxsdk

Step 2 Perform export.

export PROJECTDIR=`pwd`

Step 3 Perform export.

export JAVA_HOME=/usr/java

Step 4 Perform make all.

./bin/make all


Run BTSxsdk

To run the sample CLI client application, perform the following steps:


Step 1 Go to the bin directory.

cd /opt/BTSxsdk/bin

Step 2 Perform the following command to run the BTSxdsk.

./oo-run-ssl com.sswitch.oam.drv.XmlCli

A CLI-like interface appears. Issue a test CLI command such as "show sub; limit=1"—the XML response displays on the screen.