Designing collaborations for bidirectional scripts

WebSphere Business Integration Server supports bidirectional scripts. This support is in a standard Windows-type bidirectional format (logical left to right). Because of this support, all collaborations also support bidirectional scripts. However, data entering a collaboration may come from:

Bidirectional format inconsistencies cause comparisons within a collaboration to return incorrect results. These types of errors can be avoided by following these guidelines:

Enabling connectors for bidirectional scripts

To enable a connector to support a bidirectional script:

  1. Set the BiDiTransformation property to true on the Standard tab of Connector Configurator. (See Figure 24 ). Setting the value to true allows the connector designer to display the other parameters that support bidirectional scripts for the connector.

    Figure 24. The BiDiTransformation property in the Connector Configurator

    The figure shows the System Manager connector designer panel displaying a sample connector. The Bidi.Transformation property is set to true, and the dialog displays all the associated BiDi properties, in this case, BiDi.Application, BiDiBroker, and BiDi.Metadata.

  2. Specify the bidirectional options for the following:

    Each property displays a dialog (see Figure 25) in which you choose the bidirectional parameters to support. See Table 25 for a description of the parameters.

    Figure 25. bidirectional script parameter input dialog

    The figure shows the Input dialog box. There are five drop-down menus in the dialog. The topmost is for the Type parameter. Beneath Type is the Direction menu. The third menu is the Symmetric Swapping menu. The fourth menu is the Shaping menu and the last menu is the Numeric Shaping menu. At the bottom of the dialog are 3 buttons: OK, Reset to Default, and Cancel.


    Table 25. Values for bidirectional format strings

    Letter position Purpose Values Description Default
    1 Type I Implicit (Logical) I
    V Visual
    2 Direction L Left to Right L
    R Right to Left
    3 Symmetric Swapping Y Symmetric swapping is on Y
    N Symmetric swapping is off
    4 Shaping Y Text is shaped N
    N Text is not shaped
    5 Numeric Shaping H Hindi N
    C Contextual
    N Nominal
  3. Deploy the connector. (See the WebSphere InterChange Server Implementation Guide for more information about deploying connectors.)

Copyright IBM Corp. 1997, 2004