Example

 

This section will guide you through a series of steps to create Response Message definitions. The tutorial on creating Input Message definitions would have helped you to create an RTRV-PM-T1 command. This tutorial will help you to create a response for the RTRV-PM-T1 request.

 

Step 1

 

Click the Add New item from the edit menu or right-click on the Response node. A Create New Response Message dialog is displayed where you must specify the response name. In this case, the response name is RESP-RTRV-PM. Click the OK button to commit the changes. The response name will be displayed as a child in the response node.

 

Step 2

 

Select the response name RESP-RTRV-PM from the TL1 Message Tree, and the details are shown in the right panel. The response format for the RTRV-PM command is given here:

 

   SID DATE TIME

M CTAG COMPLD

   “<AID>,[<AIDTYPE>]:<MONTYPE>,<MONVAL>,[<VLDTY>],[<LOCN>],[<DIRN>], [<TMPER>],[<DATE>],[<TIME>]”

;

 

In this case, the text block is quoted and contains two parameter blocks. Each parameter block contains parameters.

 

Now you must define the parameter blocks and the parameters in the response details column. Since the response block contains an quoted line, select Valid Quoted Response button and create parameter blocks. To create a parameter block, click Add button corresponding to the parameter block. A Parameter Block dialog is displayed where you must specify the block names. The block names are used to identify a particular block in the response. For example, you can have the block names as block1 and block2. Since both the blocks are mandatory, the depth is 0.

 

Step 3

 

Now you must define the parameters for the parameter block. To add parameters to a block, select the block and click the Add button corresponding to the parameter. The Parameter dialog is displayed where you must specify the parameter details, such as name, type, mode etc. Click OK to commit the changes. In the same way, you can add all the parameters to the block. You can also specify the error response for the request in the same manner.

 

Response Message

 

Step 4

 

Click the Update button to commit the changes and Save button to save the changes to the file.

 



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.