Invoke Business Service Activity

You can use the InvokeBusinessService Activity to select and configure the Siebel business services and the Siebel fields.

General

The following table lists the configurations in the General tab of the Invoke Business Service activity:

Field Module Property? Description
Name The name of the activity is displayed.
Siebel Connection Yes Specify the Siebel Connection type that should be used. See the topic Creating a Siebel Connection using the Siebel Connection Resource for more details.
Business Service
  1. Click the Fetch button. The Business Services dialog is displayed.
  2. Select the value EAI Siebel Adapter.
  3. Click the OK button.
Business Service Method The following operations can be performed using the activity For EAI Siebel Adapter Business Service:
  • Delete- for deleting an existing record
  • Insert- for inserting a new record
  • Query- for querying or searching a record or records
  • Update- for updating an existing record.
  • Upsert- for inserting a record if the record does not exist or for updating a record if it exists.
Note:
  • The Update operation cannot be performed on a user-key field. For example, if you want to update the Location field from City1 to City 2, and if the Location field is a user-key, the update operation will generate a Fault.
  • The Upsert operation cannot be performed on multiple records. An exception is displayed if Upsert is performed on multiple records.
  • If you execute a Query operation without input values provided to the selected fields, an error is displayed on the console.
  • If the Delete operation finds multiple records, it deletes all the records without prompting you for a confirmation. For example, if you provide an input of a* and perform the delete operation, all records starting from the letter a is deleted. To delete all the records, provide * as an input.
  • If you perform Delete operation on a record, the output data for the record will not have any values.
Note: To view all the Business Service methods you must re-fetch the Business Service.
Siebel Object Reference
Note: Only the Integration Object is supported by this activity.

Specify the object for reference created using the editor. See the topic Creating a Siebel Schema using the Siebel Objects Editor for more details.

  1. Click the search icon. The Siebel Integration Object dialog is displayed.
  2. Select an appropriate object.
Integration Object Name The name of the integration object.
Request Schema Reference The selected schema for this field is rendered as input schema in the Input tab.
Note: Either Request schema reference or Siebel Object Reference is applicable for the Input tab. Refer the sample checked in project for custom schema.
To request a schema reference perform the following steps:
  1. Click Load Request Schema. The Load Request (Input) Schema dialog is displayed.
  2. Enter the appropriate values and click OK.
Reply Schema Reference

The selected schema for this field is rendered as output schema in the Output tab.

Note: If request schema reference field is populated and Reply Schema Reference field is not, then there is default output schema.
To reply to a schema reference perform the following steps:
  1. Click Load Reply Schema. The Load Reply (Output) Schema dialog is displayed.
  2. Enter the appropriate values and click OK.

Description

In the Description tab, you can enter a short description for the Invoke Business Service activity.

Input

The values in the Input tab is populated based on the object selected in the Siebel Object Reference field or the Request Schema Reference field.

Note: Duplication or adding multiple Item fields in the Input tab is not allowed as Siebel only supports a single parent node or a parent-children relationship in the nodes.

Output

The values in the Output tab is populated based on the values passed to the fields of the objects in the Input tab. If the values are appropriate, the output is appropriate. If the values are not appropriate, an error or an exception is displayed in the Fault tab.

Fault

In the Fault tab, you can find the error message and error message code of the Invoke Business Service activity. See the Error Codes topic for more detailed explanation of errors.

The following table lists the error schema elements in the Fault tab of the Invoke Business Object activity:

Error Schema Element Data Type Description
SiebelPluginException String Displays an exception at runtime if the user has selected the attributes, has not assigned any values to the attributes, and is trying to perform the Insert, Upsert, Query, or Delete operation.
SiebelJDBException String Displays an exception related to the Siebel operation. The exception is generated either by the Siebel server or due to operation failure.