IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > IBM i > Reference > Globalization
Bidirectional transformation in business objects
The adapter supports bidirectional processing of the message content and key value of a business object.
Bidirectional formatting attributes of the interface
To enable bidirectional processing of business objects, you must modify the .import or .export file. For outbound processing, you must modify the business objects to enable the bidirectional transformation of the headers in the WebSphere Adapter for IBM i business object and the data in content-specific business objects.
The following example shows the biDiContext element that specifies the bidirectional transformation format string for the connection. Change the .import file for outbound modules and the .export file for inbound modules.
<connection ...> <properties> <biDiContext>VRYNN</biDiContext> </properties> </connection>
Bidirectional formatting attributes of the business object
The following annotation, which contains the bidirectional context information, applies to the headers in the business object named fifoq, which is defined in the fifoq.xsd file. The adapter uses the bidirectional information in the BiDiContext element to transform the header values.
<complexType name="Fifoq"> <xsd:annotation xml:space="preserve"> <xsd:appinfo> <appinfo source="http://www.ibm.com/xmlns/prod/websphere/j2ca/ibmi/metadata"> <ibmiasi:IBMiBusinessObjectTypeMetadata xsi:type="ibmi:IBMiBusinessObjectTypeMetadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ibmi="http://www.ibm.com/xmlns/prod/websphere/j2ca/ibmi/metadata"> <BiDiContext> <orientation>rtl</orientation> <textShape>nominal</textShape> <orderingScheme>visual</orderingScheme> <symmetricSwapping>true</symmetricSwapping> <numeralShapes>nominal</numeralShapes> </BiDiContext> </ibmi:IBMiBusinessObjectTypeMetadata> </xsd:appinfo> </xsd:annotation>
Related concepts:
Globalization and bidirectional transformation
Related reference: