< Previous | Next >

Creating the business artifacts

Before you can begin to assemble your state machine in the graphical editor, you will have to create the artifacts that will support it.

In this step, you will create the following artifacts:
  1. Create a library as follows:
    1. Right-click an empty area of the Business Integration view, and chose New > Library from the list.
    2. In the New Library window, name the library BSM_Telco_Library, accept the defaults and click Finish.
  2. Create a business object as follows:
    1. Right-click your newly created library, and chose New > Business Object from the list. The New Business Object window launches.
    2. In the Name field, enter Digit and click Finish.
    3. In the Business object editor, right-click the new business object, and select Add an attribute. Name the new attribute id, and assign it a type of string.
    4. Add another attribute with the name digit, and a type of string.
  3. Create two interfaces as follows:
    1. Right-click your library, and chose New > Interface from the list. The New Interface Wizard window launches.
    2. Name the first interface TelcoInterface and click Finish.
    3. Similarly, create another interface named TelcoConnectionInterface.
  4. Create operations for these interfaces. For each operation that you create, assign the appropriate value from the table shown below.
    1. In the interface editor for TelcoInterface, right-click an empty area, and select Add Request Response operation.
    2. Configure the new operation according to the fields in this table.
      Operation name Input name Input type Output name Output type
      digit digit Digit ok boolean
      offHook id string ok boolean
      onHook id string ok boolean
      init id string ok boolean
      unplug id string ok boolean
      remoteDisconnect id string ok boolean
    3. In the interface editor for TelcoConnectionInterface, create the operations shown in this table, and assign the appropriate input and output names. Note that for two of the operations, you will be creating an extra input by clicking the Add Input icon in the editor.
      Operation name Input name Input type Output name Output type
      isBusy to string isBusy boolean
      connect from string connectOk boolean
        to string    
      disconnect from string disconnectOk boolean
        to string    
  5. Create a business module as follows:
    1. Right-click an empty area of the Business Integration view, and chose New > Module from the list.
    2. In the New Module window, name the module BSM_Telco, accept the defaults and click Finish.
Now that you have completed the creation of the necessary artifacts, you may create your state machine, and then begin to assemble the necessary components.

Feedback
(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.
< Previous | Next >