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)

  1. Create a workflow containing the following steps, as shown in the following image:
    1. EAI XML Read from File

    2. Transcode Service (Validate)

    This image is described in the surrounding text.
    Note: For details on the Business Process Designer, see Siebel Business Process Framework: Workflow Guide.
  2. 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

  3. 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

  4. 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