Transports and Interfaces: Siebel Enterprise Application Integration > Transcode Service Business Service > Transcode Service Business Service Examples >
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
- Create a workflow as follows:
NOTE: For details on the Business Process Designer, see Siebel Business Process Framework: Workflow Guide.
- Define the following process properties:
|
|
|
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:
|
|
|
|
OutputIntObjectName |
Literal |
Sample Account |
Not applicable |
PrimaryRowId |
Process Property |
Row ID of the account record |
Object Id |
|
|
|
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:
|
|
|
|
SourceEncoding |
Literal |
UTF-8 |
Not applicable |
TargetEncoding |
Literal |
CP932 |
Not applicable |
ConversionMode |
Literal |
EncodingToEncoding |
Not applicable |
<Value> |
Process Property |
Not applicable |
SiebelMsg |
|
|
|
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:
|
|
|
|
FileName |
Literal |
File to write, for example, d:\temp\acct_record_JPN.xml |
Not applicable |
<Value> |
Process Property |
Not applicable |
SiebelMsgJPN |
|