[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Testing Dynamic Service Activator

The SDX application library includes two gateway clients that you can use to test Dynamic Service Activator

Web Application Gateway Client

The SDX application library includes a Web application gateway client that you can use to test Dynamic Service Activator's ability to invoke methods and scripts.

Installing the Gateway Client

To install the gateway client:

  1. Access the Web application, soapClient.war, in the folder unsupported on the application library CD.
  2. Install the Web application on a host.

For information about installing Web applications, see Chapter 1, Installing the SDX Applications. You do not need to configure any properties for this Web application.

Starting the Gateway Client

To start the Web client, access the following URL with a Web browser:

http://<host>:<portNumber>/soapClient/

The Home Web page appears.

Connecting to the Gateway

To connect to the gateway, click Configuration, and follow the instructions on the screen.

Running Methods and Scripts

To run a method or script:

  1. Click DSA Service or PCMM Service.

The list of methods for the selected service appears in the navigation menu.

  1. Click on the method you want to run.

Follow the instructions on the screen to enter the required information for the method.

For example, to view a list of the DSA client's subscriptions, proceed as follows:

  1. Under Methods, click ReadSubscription in the navigation pane.
  2. Enter the required information Data in the Client ID and Client Password fields must match the data you configured. The subscriber type must match the one configured.
  3. Click Read Subscription.

The ReadSubscription Method Web page displays the subscriber's subscriptions.

Gateway Client for PCs

The SDX application library includes a gateway client that you can use to test Dynamic Service Activator's ability to invoke scripts on the SAE.

Requirements

You can use this gateway client on a PC running the following software:

For information about compatibility between Windows and .NET Framework, see:

http://msdn.microsoft.com

Installing the Gateway Client

To install the gateway client:

  1. Access the folder unsupported on the application library CD, and copy the folder b2bTestClient to a PC.
  2. Access the folder b2bTestClient on the PC, and open the file setup.exe.

If you see the following dialog box, you must install .NET Framework.

To install .NET Framework:

  1. Click Yes in the dialog box.

The appropriate page on the Microsoft Web site appears.

  1. Follow the instructions on the Web site to download and install .NET Framework version 1.1 or higher.
  2. Repeat Step 2.
  1. Follow the instructions on the screen to install the gateway client.

Starting the Gateway Client

To start the gateway client, select Start > Programs >
ScriptInvoker SOAP Client. The ScriptInvoker SOAP Client window appears.

Customizing the Default Settings

Customizing the default settings is optional. You can choose either to overwrite the default settings in the ScriptInvoker SOAP Client window each time you use the gateway client or to customize the default settings. If you choose the latter option, you can avoid modifying information each time you use the client.

To customize the default settings:

  1. Access the folder on the PC in which you installed the gateway client.
  2. Open the file ScriptInvokerClient.exe.config with a text editor.
  3. In the file, find the line that reads <appSettings>.

The code for the settings appears below this line. Each setting has a line with the following format:

<add key="<settingName>" value="<settingValue>"


  1. Edit the line for each setting.

ScriptInvoker URL

Client ID

Client Password

SAE Script Name

SAE Script Arguments

Using the Gateway SOAP Client

To use the gateway client:

  1. Select Start > Programs > ScriptInvoker SOAP Client.

The ScriptInvoker SOAP Client window appears.

  1. If necessary, modify the default settings in the window.
  2. Click Send SOAP Request.

Dynamic Service Activator runs the specified script and returns a message that states whether the operation was successful in the message box. If the operation was unsuccessful, you will see an error message that explains why the operation failed.

To clear the message box in the ScriptInvoker SOAP Client window, click Clear Output.

The message box does not display the actual SOAP messages transmitted to and received from Dynamic Service Activator. To view the SOAP messages, you must install and use a program that monitors SOAP.

Sample Scripts

You can find a sample script called Echo in the file:

/opt/UMC/sae/var/javaScripts/Echo.java


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]