XML Hierarchy Example
In this workflow example, a file encoded in codepage 932 (Japanese) is read into an XML hierarchy, then validated for conversion into codepage 1252 (Western European).
To create the validation workflow (XML hierarchy example)
- Create a workflow containing the following steps, as shown in the following image:
EAI XML Read from File
Transcode Service (Validate)
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
Siebel Operation Object Id
String
In/Out
XMLHier
Hierarchy
In/Out
Set up the first business service step to use the EAI XML Read from File business service with the ReadXMLHier method and the following input and output arguments:
Input Argument Type Value FileName
Literal
c:\JPN_JIS.xml
Property Name Type Output Argument XMLHier
Output Argument
XMLHierarchy
Set up the second business service step to use the Transcode Service business service with the Validate method and the following input arguments:
Input Argument Type Value Property Name SourceEncoding
Literal
CP932
Not applicable
TargetEncoding
Literal
CP1252
Not applicable
ValidationMode
Literal
Not applicable
Not applicable
XMLHierarchy
Process Property
Not applicable
XMLHier