Transports and Interfaces: Siebel Enterprise Application Integration > EAI HTTP Transport >
EAI HTTP Transport for Inbound Messages
To use the EAI Transport, you complete two steps:
- Set up the business service for use in the workflow.
- Create the workflow.
Both steps are explained in this section. This scenario assumes incoming XML. Your business requirements dictate if and how you need to adapt these steps to fit your needs. To set up the business service
- Start Siebel Tools, connecting to the server.
- Find the business service named Workflow Process Manager.
- Copy this record and rename the copy EAITEST.
- Access the Business Service User Props window and add a new record:
- Enter ProcessName in the Name column.
- Enter EAITEST in the Value column, as shown in the following illustration.
- Compile a new .srf file and copy it to the
SIEBSRVR_ROOT \Object directory.
- Restart the Siebel Server.
- Verify that the EAI Object Manager has started.
To create the new workflow process to receive messages
- Log in to the Siebel client as an administrator connected to the server.
- From the Site Map choose Administration - Business Process > Workflow Processes.
- Create a new workflow process as shown below and give it a unique name, such as EAITEST.
- Select the Process Properties tab and add the following properties:
|
|
|
|
|
IncomingXML |
Binary |
<Value> |
In/Out |
By creating the IncomingXML process property, anything that is sent as data will be placed in this variable. This allows you to then perform a given action on that data. If the POST method was used, the data sent in the Body will be stored in this property. If the GET method was used, the data sent in the URL will be stored in this property. |
Account Message |
Hierarchy |
- |
In/Out |
This is hierarchy format of the incoming XML. |
<Value> |
Binary |
- |
In/Out |
Used to get the XML string that has been read or converted. |
Content-Type |
text/html |
- |
Out |
It indicates the content type of the response body. If you want to see the response in the same Web page then you need to set this parameter to text/html. |
- Set up the first step of the workflow after Start to use the EAI XML Converter with the XML Document to Integration Object Hierarchy method. This step converts the message, using the following input and output arguments.
|
|
|
|
|
XML Document |
Process Property |
- |
IncomingXML |
Hierarchy |
|
|
|
|
Account message |
Output Argument |
- |
Siebel Message |
- Set up the second step to use the EAI Siebel Adapter with the Insert or the Update method and the following input and output argument to update the Siebel Database.
|
|
|
|
|
Siebel Message |
Process Property |
- |
Account Message |
Hierarchy |
|
|
|
|
<Value> |
Literal |
<h1>Update Completed</h1> |
- |
NOTE: The HTTP response for inbound requests is determined by looking at the <Value> portion of the output property set. HTTP response headers can be set by setting properties on the output property set.
- Save your workflow process and test it using the Workflow Simulator.
|