Transports and Interfaces: Siebel Enterprise Application Integration > EAI DLL and EAI File Transports > About the EAI File Transport >

EAI File Transport Named Subsystem


The EAI File Transport can read parameters from a named subsystem. For the EAI File Transport, the named subsystem type is FileTranspSubsys.

The following example shows how to use the FileTranspSubsys named subsystem with EAI File Transport business service methods.

Receiving a Message and Writing It to a File

This example uses the Receive method of the EAI File Transport business service to receive a message as a file, then it uses the Send method of the EAI File Transport business service and the FileTranspSubsys named subsystem to write the message to a file.

To receive a message and write it to a file

  1. Define an EAI File Transport named subsystem, for example:

    create named subsystem FileConnSubsys_sub for subsystem FileTranspSubsys with FileName="D:\temp\FileOut.txt", AppendToFile=true

  2. Create a workflow as follows:

    NOTE:  For details on the Business Process Designer, see Siebel Business Process Framework: Workflow Guide.

  3. Define the following process properties:
    Name
    Data Type
    In/Out
    Default String

    BinaryMsg

    Binary

    In/Out

    Not applicable

    Error Code

    String

    In/Out

    Not applicable

    Error Message

    String

    In/Out

    Not applicable

    Object Id

    String

    In/Out

    Not applicable

    Process Instance Id

    String

    In/Out

    Not applicable

    Siebel Operation Object Id

    String

    In/Out

    Not applicable

  4. Set up the first business service step to use the EAI File Transport business service with the Receive method and the following input and output arguments:
    Input Argument
    Type
    Value

    FileName

    Literal

    D:\temp\InputToFile.txt

    Property Name
    Type
    Output Argument

    BinaryMsg

    Output Argument

    <Value>

  5. Set up the second business service step to use the EAI File Transport business service with the Send method and the following input arguments:
    Input Argument
    Type
    Value
    Property Name

    <Value>

    Process Property

    Not applicable

    BinaryMsg

    ConnectionSubsystem

    Literal

    FileConnSubsys_sub

    Not applicable

Transports and Interfaces: Siebel Enterprise Application Integration Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.