Transports and Interfaces: Siebel Enterprise Application Integration > EAI HTTP Transport >

Sending a Message Using the EAI HTTP Transport


The following procedure demonstrates how to send information from a Siebel application to another Web-based application using the EAI HTTP Transport.

To send a message

  1. Create an integration object in Siebel Tools based on a given business object.
  2. Refine the integration object created in Step 1 to specify just those business components and fields that you want to exchange with the external application.

    NOTE:  For details about integration objects, see Integration Platform Technologies: Siebel Enterprise Application Integration.

  3. In Siebel Tools, set up a workflow to send this information to an external system as shown in the following figure:

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

    1. Create the following process properties:
      Name
      Data Type
      In/Out
      Value

      Account Message

      Integration Object

      In/Out

      Not applicable

      Account XML

      Binary

      In/Out

      Not applicable

      Error Code

      String

      In/Out

      Not applicable

      Error Message

      String

      In/Out

      Not applicable

      Object Id

      String

      In/Out

      Row Id of an account

      Siebel Operation Object Id

      String

      In/Out

      Not applicable

    2. Set up the first step of the workflow after Start to use the EAI Siebel Adapter with the Query method to query the information from the Siebel Database, using the following input and output arguments:
      Input Argument
      Type
      Value
      Property Name
      Property Data Type

      OutputIntObjectName

      Literal

      Sample Account

      Not applicable

      Not applicable

      PrimaryRowId

      Process Property

      Not applicable

      Object Id

      String

      Property Name
      Type
      Output Argument

      Account Message

      Output Argument

      SiebelMessage

    3. Set up the second step to use the EAI XML Converter with the IntObjHierToXMLDoc method to convert the data extracted from the Siebel Database to XML format, using the following input and output arguments:
      Input Argument
      Type
      Property Name
      Property Data Type

      SiebelMessage

      Process Property

      Account Message

      Integration Object

      Property Name
      Type
      Output Argument

      Account XML

      Output Argument

      <Value>

    4. Set up the third step to use the EAI HTTP Transport with the Send method to send the information to the external system, using the following input and output arguments:
      Input Argument
      Type
      Value
      Property Name
      Property Data Type

      <Value>

      Process Property

      Not applicable

      Account XML

      String

      HTTPRequestMethod

      Literal

      POST

      Not applicable

      Not applicable

      HTTPRequestURLTemplate

      Literal

      http://$web_address$/$request_param$

      Not applicable

      Not applicable

      Property Name
      Type
      Output Argument

      Account XML

      Output Argument

      <Value>

    5. Save the workflow and run it from the Workflow Simulator.
  4. Specify how this workflow will be invoked using one of the following methods:
    • Configure the RunTime Events to trigger the workflow.
    • Create a button on the appropriate view in the Siebel application to call this workflow.
    • Use workflow policies on the opportunity business object to trigger the workflow.
Transports and Interfaces: Siebel Enterprise Application Integration Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.