The following steps demonstrate how to send information from a Siebel application to another Web-based application using the EAI HTTP Transport.
- Create an integration object in Siebel Tools based on a given business object.
- 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 eBusiness Application Integration Volume II.
- Create a workflow process, using the Business Process Administration, to send this information to an external system as shown in the following figure:
- Create the following process properties in the Process Property applet:
Name
|
Data Type
|
In/Out
|
Value
|
Account Message
|
Hierarchy
|
In/Out
|
-
|
Account XML
|
Binary
|
In/Out
|
-
|
Error Code
|
String
|
In/Out
|
-
|
Error Message
|
String
|
In/Out
|
-
|
Object Id
|
String
|
In/Out
|
Row Id of an account
|
Siebel Operation Object Id
|
String
|
In/Out
|
-
|
- 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 Arguments
|
Type
|
Value
|
Property Name
|
Property Data Type
|
Output Integration Object
|
Literal
|
Sample Account
|
-
|
-
|
Object Id
|
Process Property
|
-
|
Object Id
|
String
|
Property Name
|
Type
|
Value
|
Output Argument
|
Account Message
|
Output Argument
|
-
|
Siebel Message
|
- Set up the second step to use the XML Converter with the PropSetToXML method to convert the data extracted from the Siebel Database to XML format, using the following input and output arguments:
Input Arguments
|
Type
|
Value
|
Property Name
|
Property Data Type
|
Siebel Message
|
Process Property
|
-
|
Account Message
|
Hierarchy
|
Property Name
|
Type
|
Value
|
Output Argument
|
Account XML
|
Output Argument
|
-
|
XML Document
|
- 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 arguments:
Input Arguments
|
Type
|
Value
|
Property Name
|
Property Data Type
|
Message Text
|
Process Property
|
-
|
Employee XML
|
String
|
Login Method
|
Literal
|
GET
|
-
|
-
|
Login URL Template
|
Literal
|
http://$web_address$/$login_param$
|
-
|
-
|
Log Off Method
|
Literal
|
GET
|
-
|
-
|
Log Off URL Template
|
Literal
|
http://$web_address$/$logoff_param$
|
-
|
-
|
Request URL Template
|
Literal
|
http://$web_address$/$request_param$
|
-
|
-
|
Password
|
Literal
|
mypassword
|
-
|
-
|
Property Name
|
Type
|
Value
|
Output Argument
|
Property Data Type
|
Employee XML
|
Output Argument
|
-
|
Message Text
|
-
|
- Save the workflow and run it from the Workflow Process Simulator.
- 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 process.
- Use workflow policies on the opportunity business object to trigger the workflow process.