Using the Convert Method
The following workflow example demonstrates the use of the Convert method of the Transcode Service business service. An account record is read from an integration object by the EAI Siebel Adapter as a Siebel Message, converted from UTF-8 (Unicode) to codepage 932 (Japanese), and then written to an XML file.
To create the conversion workflow (using the Convert method)
Create a workflow containing the following steps, as shown in the following image:
EAI Siebel Adapter (Query)
Transcode Service (Convert)
EAI XML Write to File (WriteEAIMs...)
Note: For details on the Business Process Designer, see Siebel Business Process Framework: Workflow Guide.Define the following process properties:
Name Data Type In/Out Error Code
String
In/Out
Error Message
String
In/Out
Object Id
String
In/Out
Process Instance Id
String
In/Out
Siebel Operation Object Id
String
In/Out
SiebelMsg
Hierarchy
In/Out
SiebelMsgJPN
Hierarchy
In/Out
- Set up the first business service step to use the EAI Siebel Adapter
business service with the Read Siebel Msg method and the following
input and output arguments:
Input Argument Type Value Property Name OutputIntObjectName
Literal
Sample Account
Not applicable
PrimaryRowId
Process Property
Row ID of the account record
Object Id
Property Name Type Output Argument SiebelMsg
Output Argument
SiebelMessage
Set up the second business service step to use the Transcode Service business service with the Convert method and the following input and output arguments:
Input Argument Type Value Property Name SourceEncoding
Literal
UTF-8
Not applicable
TargetEncoding
Literal
CP932
Not applicable
ConversionMode
Literal
EncodingToEncoding
Not applicable
<Value>
Process Property
Not applicable
SiebelMsg
Property Name Type Output Argument SiebelMsgJPN
Output Argument
<Value>
Set up the third business service step to write the converted integration object hierarchy to an XML file using the EAI XML Write to File business service with the WriteEAIMsg method. This step requires the following input arguments:
Input Argument Type Value Property Name FileName
Literal
File to write, for example, d:\temp\acct_record_JPN.xml
Not applicable
<Value>
Process Property
Not applicable
SiebelMsgJPN