Integration Platform Technologies: Siebel eBusiness Application Integration Volume ll > Siebel Virtual Business Components >

Custom Business Service Methods


Your business service must implement the Init and Query methods as described in this section. The Delete, PreInsert, Insert, and Update methods are optional, and dependent upon the functionality required by the Virtual Business Component.

NOTE:  Custom business services can be only based on the CSSService class, as specified in Siebel Tools.

These methods pass property sets between the virtual business component and the business service. Virtual business component methods take property sets as arguments. Each method takes two property sets: an Inputs property set and an Outputs property set. The methods are called by the CSSBCVExtern class in response to requests from other objects that refer to or are based on the virtual business component.

When you are building a custom business service to allow virtual business component functionality with Siebel VB or Siebel eScript you can use one of the following methods to connect to an external database in the Service code:

  • Siebel VB Only. Use the SQL functions using ODBC.
  • Siebel eScript Only. Call out to a CORBA interface using the CORBACreateObject function.
  • Siebel VB or Siebel eScript. Use a COM connection through the CreateObject or COMCreateObject functions to call an API supported by your RDBMS vendor or to call a COM object such as ActiveX DLL.

You may also choose to use the XML Gateway service to allow the connection for your VBC. For details, see XML Gateway Service.

NOTE:  For more information about property sets, programming in Siebel eScript, and programming in Siebel VB, see Siebel Tools Reference and Siebel Tools Online Help.

Integration Platform Technologies: Siebel eBusiness Application Integration Volume ll