Integration Platform Technologies: Siebel Enterprise Application Integration > External Business Components > Process of Configuring External Business Components >

Specifying Run-Time Parameters


After the data source definition is named in Siebel Tools, you specify the run-time parameters by configuring the data source definition, and updating the server component definition.

If you are testing by using the Siebel Developer Web Client, add a [DataSource] section to the client .cfg file.

This task is a step in Process of Configuring External Business Components.

Configuring the Data Source Definition

As part of specifying the run-time parameters, configure the data source definition.

To configure the data source definition

  1. Navigate to the Administration - Server Configuration screen, Enterprises view, then Profile Configuration.
  2. Copy an existing InfraDatasources named subsystem type.
  3. Change the Profile and Alias properties to the Data Source name configured in Siebel Tools.
  4. Update the profile parameters to correspond to the external RDBMS:
    • DSConnectString = data source connect string
      • For the Microsoft SQL Server or the IBM DB2 databases, create an ODBC or equivalent connection and input the name of this in the parameter.
      • For an Oracle RDBMS, this value must specify the TNS name associated with the database and not an ODBC or other entry.
    • DSSQLStyle = database SQL type

      See Table 51 for a listing of the supported SQL types.

    • DSDLLName = DLL or library name corresponding to the SQL type

      See Table 51 for a listing of the supported connector Dynamic Link Library (DLL, Windows) or library (shared object, UNIX) names and SQL styles.

    • DSTableOwner = data source table owner
    • DSUsername = default username used for connections (Optional)
    • DSPassword = default password used for connections (Optional)

      NOTE:  The DSUsername and the DSPassword parameters are optional. However, to avoid receiving a login prompt when accessing the external data source, specify DSUsername and DSPassword. If specified, they will override the default username and password.

The DSUsername and the DSPassword parameters are activated only when using the Database Security Adapter. For more information, see Configuring a User in LDAP or ADSI Security Adapter To Access EBCs.

Configuring a User in LDAP or ADSI Security Adapter To Access EBCs

You do not typically use Lightweight Directory Access Protocol (LDAP) or Microsoft Active Directory Service Interfaces (ADSI) to retrieve the database username and password to be used for the EBC. Instead, you specify a common DSUsername and DSPassword as described in Configuring the Data Source Definition.

NOTE:  You do not need to configure LDAP or ADSI authentication unless you need different database users for the EBC (more than one for all users), for example, to have all call center users access the EBC data source with a specific database user, or to be able to set a specific database user for one or more Siebel login IDs.

When LDAP or ADSI authentication is used, the username and password values for the external data source are provided in the ADSI SharedCredentialsDN parameter and the CredentialAttributeType attribute.

NOTE:  The CredentialAttributeType attribute must be able to hold multiple values, for example, url. It cannot be single-value, such as mail.

For example, the name of your external data source is MyExtDataSrc, and your ADSI is configured with the following parameters:

SharedCredentialsDN= cn=sharedcred,ou=people,dc=siebel,dc=com

CredentialAttributeType = url

In your ADSI server modify the url attribute for the following entry:

cn=sharedcred,ou=people,dc=siebel,dc=com

Before modifying, one value must already exist (assuming sadmin and db2 are the user name and password for the ServerDataSrc data source, which is the primary data source):

type=ServerDataSrc username=sadmin password=db2

Add additional values to the url attribute (assuming mmay and mmay are the user name and password for the MyExtDataSrc data source, which is the external data source):

type=MyExtDataSrc username=mmay password=mmay

After adding the new value for the external data source to the url attribute, you are able to access EBCs.

Configuring the Data Source Definition for the Siebel Developer Web Client

If testing using the Siebel Developer Web Client, add a [DataSource] section to the client .cfg file for the data source definition named in Siebel Tools. In this example, WindyCity is the data source being added.

To configure the data source definition in the Siebel Developer Web Client

  1. Add the data source definition named in Siebel Tools. In this example, the data source definition named is WindyCity:

    [DataSources]

    Local = Local

    Sample = Sample

    ServerDataSrc = Server

    GatewayDataSrc = Gateway

    WindyCity = WindyCity

  2. In the data source section of the application's .cfg file, add the following parameters (for the supported SQL types and connector DLL names, see Table 51):

    [WindyCity]

    Docked = TRUE

    ConnectString = data source connect string

    SqlStyle = database SQL type

    TableOwner = data source table owner

    DLL = DLL Name corresponding to the SQL type

    DSUsername = user id (Optional)

    DSPassword = password (Optional)

Supported Connector Names and SQL Styles

When defining the DLL (Windows) or library (UNIX) and SQL files for importing the external schema, the external database being used might not be the same as the Siebel database. Table 51 contains the supported connector DLL and library names and their corresponding SQL styles.

Table 51. Supported Connector DLL and Library Names1 and SQL Styles
External Database
DLL Name (Windows)
Library Name (UNIX)
SQL Style

IBM DB2

sscddcli.dll

sscddcli.so

DB2

Microsoft SQL Server

sscdms80.dll

Not supported

MSSqlServer

Oracle.

Use for Oracle databases.

sscdo90.dll

sscdo90.so

Oracle

Oracle.

Use for Oracle databases with cost-based optimization.

sscdo90.dll

sscdo90.so

OracleCBO

NOTE:  Use OracleCBO only with an Oracle Database 9i (or later) instance, because the parameter values used are different in earlier versions.

SQL Anywhere

sscdw9.dll

sscdw90.so

Watcom

1The extension for the DLL or library name is optional.

Updating the Server Component to Use the New Data Source

As part of specifying the run-time parameters, update the server component to use the new data source.

To update the server component to use the new data source

  1. Navigate to the Administration - Server Configuration screen, Enterprises view, then Component Definitions.
  2. In the Component Definitions list applet, select your Application Object Manager Component. For example, select the Call Center Object Manager (ENU).
  3. Choose Start Reconfiguration from the Menu drop-down list on the Component Definitions list applet.

    The Definition State of the component will be set to Reconfiguring. Reselect your application component after selecting the Start Reconfiguring menu item.

  4. In the Component Parameters list applet, query for OM - Named Data Source name, and update the Value by adding the alias name of the data source specified in the To configure the data source definition section.

    The format of the OM - Named Data Source name parameter is a comma-delimited list of data source aliases. It is recommended that you do not modify the default values, and that you add their new data sources to the preexisting list.

  5. After the parameter values are reconfigured, commit the new configuration by selecting Commit Reconfiguration from the Menu drop-down list on the Component Definitions list applet.

    The new parameter values are merged at the enterprise level.

    To cancel the reconfiguration before it has been committed, select Cancel Reconfiguration from the Menu drop-down list on the Component Definitions list applet.

Integration Platform Technologies: Siebel Enterprise Application Integration Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.