Verb processing with business services

The following verbs are supported by business services.

Note:
The returned code for all the verbs in Table 23 is VALCHANGE.
Table 23. Verbs supported by business services
Verb Description
Delete Parent object keys are used to delete the Siebel object. The adapter verifies that all primary keys are present.
Insert The complete incoming business object is used for the Insert verb.
InsertOrUpdate (Upsert) If an object with the same keys as the input object exists, merge the specified input object with the existing object. Otherwise, create a new object in Siebel based on the input object.

The adapter verifies the existence of all the primary keys before processing the object.

QueryByExample (or Query in the case of EAI Siebel Adapter) Queries for objects based on the example object provided. This operation can be treated as a Retrieve by content operations.
QueryById If the object with the keys exists, it is queried or retrieved. These operations can be treated as Retrieve operations.
Update If an object with the same keys as the input object exists, merge the specified input object with the existing object. Otherwise, error out.
Synchronize If n object with the same keys as the input object exists, make it look like the input object. Otherwise, create a new object in Siebel based on the input object.

The following example describes a process flow for using any of the verbs in Table 23.

Example process flow:

//Get the business service name,

//construct the property set based on the input,

//invoke the verb on the specified business service passing in the input property set, then

//construct the business object from the output property set.

Copyright IBM Corp. 1997, 2003