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:
- An adapter that supports bidirectional scripts. To determine if an
adapter supports bidirectional scripts, see your adapter user guide.
- A component that does not support bidirectional scripts, such as the
Server Access Interface, an adapter that does not suport bidirectional
scripts, or data imported from an external source where the bidirectional
support is unknown.
Bidirectional format inconsistencies cause comparisons within a
collaboration to return incorrect results. These types of errors can be
avoided by following these guidelines:
- Accept input only from sources that enforce the same bidirectional format
as WebSphere Business Integration Server such as the adapters that are already
enabled with this support.
- Enable the connectors that use this collaboration to enforce the correct
bidirectional format (see Enabling connectors for bidirectional scripts).
- Use the APIs in the CxBidiEngine class to transform all data into a
consistent bidirectional format (see CxBiDiEngine class).
To enable a connector to support a bidirectional script:
- 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

- Specify the bidirectional options for the following:
- BiDi.Application
- BiDi.Broker
- BiDi.MetaData
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

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
|
- Deploy the connector. (See the WebSphere InterChange Server
Implementation Guide for more information about deploying
connectors.)
