Getting Started with SCE

The Service Creation Environment (SCE) is an industry-leading visual service development environment that enables developers to build sophisticated Next Generation Network applications using drag-and-drop Plug-in Action Components (PACs) to enable a variety of built-in operations and link them in a visual call flow using the graphical user interface. This simple, intuitive interface makes applications faster to develop, customize, and modify to meet changing market needs.

This guide is intended for application developers who use the SCE to build applications for Internet Protocol Multimedia Subsystem (IMS) and Voice Over IP (VoIP) networks, as well as applications for Intelligent Networks (IN).

This guide introduces the SCE components and functionality and provides detailed information about building applications by defining variables, creating functions, adding JavaScript, and integrating Java. Instructions for creating specific types of applications and a detailed description of the PACs are also included.

SCE Features

Applications built with the SCE are translated into Extensible Telephony Markup Language (XTML) which can then be provisioned to an Application Server or a web server.

If provisioned to an application server, the application is executed locally. If provisioned to a web server, the application can be retrieved and executed by multiple application servers using Hyper Text Transfer Protocol (HTTP).

The SCE includes the following features:

  • flow chart interface that facilitates the creation of applications using drag and drop

  • modular approach to creating complex applications using building blocks of function libraries that can be shared across applications

  • definition of variables to maintain state information during the execution of the applications

  • ability to create and attach JavaScript code with auto-complete on common objects

  • error checking to validate an application for completeness and correctness

  • transfer of XTML applications to an application server or web server from within the SCE

  • flexible architecture that allows additional components to be created and distributed by third party developers

SCE Graphical User Interface

Main Window

The main window of the SCE includes the following three panes:

  • The workspace pane area lists all functions, actions, variables, and events available in the SCE. You can change the information displayed by clicking the tabs at the bottom of the pane.

  • The drawing pane area is where you create functions using the graphical user interface.

  • The build output pane area displays the status of the most recent build of the application.

_images/sceUI.png

JavaScript Editor Window

The SCE includes a JavaScript editor that associates individual segments of JavaScript code with any plug-in action component (see Plug-In Action Components (PAC)). The SCE compiles the JavaScript when the user clicks the compile button in the upper, left corner of the JavaScript Editor window or saves the application.

_images/UIJaveScriptEd.png

Any errors found in the script are displayed in a pop-up window.

Development Components

The SCE has the following components:

  • events

  • functions

  • Plug-In Action Components (PACs)

  • variables

  • applications

In general, a series of connected PACs make up a function which executes in response to an event, and several functions constitute an application or service.

Events

All service logic in an application is performed in response to the occurrence of an event. Every event has a name that describes the type of event. Events can also have parameters that carry information associated with the event. For example, the various header fields in a SIP message are provided as event parameters. Applications have access to these parameters in the form of variables.

Note

Event definitions include an internal name and a display name. The display name is displayed in the SCE, and the internal name is used to match events to handlers. By convention, and to prevent name duplication, internal names are usually in the format Vendor.EventName.Version.

Functions

Functions in the SCE are conceptually similar to functions in traditional programming languages. They are called by name, take zero or more parameters, and can return a value.

A function is a series of connected PACs or actions. Parameters are passed to a function by value or by reference. An application returns from a function when it encounters the Return PAC.

With the SCE, you can build event handlers and called functions. An event handler is carried out in response to a specific event, and a called function is called by another function through the Call a Function PAC.

Called functions are useful when you have a common set of actions to be used throughout your application. Instead of adding the set of actions individually to each area in the application, you can create one called function and then call it from the appropriate areas.

For more information, see Building Applications.

Plug-In Action Components (PAC)

PACs are the building blocks of a function and each one performs a specific action.

Each PAC has an associated properties window that can be configured based on application. The tabs available in the properties window vary for the individual PACs, but all PACs have a Description tab and a Custom tab.

_images/Fig2_3.png

Results

Each PAC includes a list of possible results. The result returned when the action is executed determines which PAC will be executed next in the function.

The following image provides a sample display of PACs connected to create a function and displayed in the SCE drawing pane.

_images/Fig2_4.png

Variables

Applications use variables to maintain state information. The following types of variables are available:

  • string

  • short

  • int (integer)

  • long

  • float

  • Boolean

  • object

  • SipDialog

  • SipDialogArray

  • MediaEndpoint

  • MediaEndpointArray

  • Conference

  • ConferenceArray

  • SipMessage

Variables can have one of the following scopes:

  • Function (local) variables can be referenced only from within the function where they are defined.

  • Global variables can be referenced from any function in the application, and each application session has its own copy of the variables.

  • Shared variables can be referenced from any function in the application, and all application sessions share a single copy of the variables.

The SCE allows you to specify a set of naming conventions to identify variable type and scope to streamline development.

Applications

An application is the XTML document created when the set of event handlers and functions that constitute a service is saved. That XTML document is then transferred to the application server or web server. An application can be contained in a single XTML document, or it can call functions that reside in other XTML documents.

Warning

Applications must always be created and edited in the SCE drawing pane. Do not make changes to an application in the XTML document.

A session is a single instance of a running application. One XTML application can support many sessions simultaneously. Each session adheres to the same call flow logic but executes independently with its own copy of the application variables (or access to shared variables) and its own path through that call flow.

To write applications using the SCE, it is important to understand how sessions are created and terminated by the Application Server. For more information, see Working with Sessions.

Install the SCE Software

To install SCE, you will need a Customer Portal account to access the software download. This download includes the files required for installation on all operating systems.

For information about setting up a Customer Portal account, contact Customer Support.

System Requirements

  • Windows ® 7 or 8 operating system

  • 16 MB free disk space

Install the SCE

During the installation process, you can click Back to return to the previous screen or Cancel to stop the installation.

  1. Exit all applications.

  2. Access the Customer Portal.

  3. Log in with your Username and Password.

  4. Click Software Downloads on the portal’s main menu and download the SCE installer file.

  5. Click the downloaded .msi installer file to begin the installation.

_images/install1.png
  1. Click Next.

  2. Select the checkbox to accept the End-User License Agreement and click Next.

_images/install2.png
  1. Click the appropriate icons to select the groups of PACs to install and click Next.

Note

Do not install the Legacy PACS and Events unless there is a specific provision in your support agreement.

_images/4_2Install3.png

Tip

Click Disk Usage to review the available disk space, or click Reset to return to the default selections.

  1. Click Install.

_images/4_2Install5.png

A status bar will show the progress of the installation.

  1. When the installation is complete, click Finish.

_images/4_2Install7.png

The SCE shortcut will now be available on your computer desktop.

Start the SCE

Use one of the following methods to start the SCE application:

  • Double-click the SCE shortcut from your desktop.

  • Click Start ‣ All Programs ‣ IMSWorkX ‣ XpressWorkX SCE.

The main window of the SCE opens in a blank application and is ready to begin development.

_images/SCEUI_small.png

Open an Existing Application

  1. From the main window, click File ‣ Open.

_images/FileOpen.png
  1. Browse for and select the application XTML document to open.

  2. Click Open.

The flow chart view of the application opens in the drawing pane, where updates can then be made as needed.

Open a New Application

  1. From the main window, click File ‣ New.

  2. If needed, save the function currently displayed in the drawing pane.