# mulesoft Oracle Siebel Connector - Full Documentation --- product: Oracle Siebel Connector version: 4.0 is-latest-version: true --- # Oracle Siebel Connector 4.0 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt > [!NOTE] Siebel Connector 4.0.8 and later now supports IP22. Anypoint Connector for Oracle Siebel (Siebel Connector) lets you access connections between Mule runtime engine (Mule) integration apps and the Oracle Siebel customer relationship manager (CRM). Siebel Connector has only one option for connecting with Siebel apps, which are categorized by Siebel Objects and Services. - Oracle Siebel Business Objects: Create, update, upsert, query, and delete Siebel business components. - Oracle Siebel Integration Objects: Create, update, upsert, query, delete, query page, execute, and synchronize Siebel integration objects. - Oracle Siebel Business Services: Execute Siebel business services. All options are available after installing the Siebel connector. The Siebel connector is built using the Siebel Java Data Beans interface. Java Data Beans provides a native Java interface to access the Siebel Object Manager. The Siebel Object Manager lets a connector use a generic interface that does not depend on a customized installation. To discover the metadata of Siebel objects in design time, use DataSense in Anypoint Studio. The Siebel connector takes advantage of the Siebel Repository to show a list of available objects as well as their structures in a Siebel custom installation. The objects can be business components, business objects, integration objects, or business services. Release Notes: [Oracle Siebel Connector Release Notes](https://docs.mulesoft.com/release-notes/connector/siebel-connector-release-notes-mule-4) Exchange: [Oracle Siebel Connector](https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule-oracle-siebel-jdb-connector/) ## Before You Begin To use this information, you should be familiar with Oracle Siebel, Mule runtime engine (Mule), Anypoint Connectors, Anypoint Studio, Mule concepts, elements in a Mule flow, and Global Elements. You need login credentials to test your connection to your target resource. To use this connector with Maven, view the pom.xml dependency information in the Dependency Snippets in Anypoint Exchange. Because of how closely the connector is coupled with Siebel CRM, you should have a working knowledge of Siebel Business Components, Business Objects, Business Services, and Integration Objects. The Siebel connector requires the following two Siebel JAR files: `Siebel.jar` and `SiebelJI_xxx`. Choose the SiebelJI\_xxx.jar based on the locale of the Siebel installation. For instance, if the locale of Siebel installation is US\_EN, use `SiebelJI_enu.jar`. The `Siebel.jar` and `SiebelJI_enu.jar` are available in the `<%SIEBEL_HOME%>\8.1.1.11\Tools_1\CLASSES` folder on the Siebel server. `%SIEBEL_HOME%` is the installation directory of Siebel. The connector now is a conglomerate of the previous 3 modules (Oracle Siebel Business Objects, Oracle Siebel Integration Objects, Oracle Siebel Business Services) ## POM File Information ```xml com.mulesoft.connectors mule-oracle-siebel-jdb-connector x.y.z mule-plugin ``` Replace `x.y.z` with the version that corresponds to the connector you are using. To obtain the most up-to-date `pom.xml` file information, access the connector in [Anypoint Exchange](https://www.mulesoft.com/exchange/) and click **Dependency Snippets**. ## Add the Connector to a Studio Project Anypoint Studio provides two ways to add the connector to your Studio project: from the Exchange button in the Studio taskbar or from the Mule Palette view. ### Add the Connector Using Exchange 1. In Studio, create a Mule project. 2. Click the Exchange icon **(X)** in the upper-left of the Studio task bar. 3. In Exchange, click **Login** and supply your Anypoint Platform username and password. 4. In Exchange, search for "siebel". 5. Select the connector and click **Add to project**. 6. Follow the prompts to install the connector. ### Add the Connector in Studio 1. In Studio, create a Mule project. 2. In the Mule Palette view, click **(X) Search in Exchange**. 3. In **Add Modules to Project**, type "siebel" in the search field. 4. Click this connector’s name in **Available modules**. 5. Click **Add**. 6. Click **Finish**. ### Configure in Studio 1. Drag the operation you want to execute to the Studio canvas. 2. To create a new configuration for the Siebel connector, click the plus button in the Basic Settings area. ![Plug sign in properties window to create a new configuration](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-studio-create-config.png) 3. Fill in the data in the configuration form. ![Global element properties window](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-studio-config.png) 1. For the Required Libraries sections, you have to add the Siebel.jar and SiebelJI\_xxx libraries that you previously downloaded. ![Maven dependency window with JAR files added](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-studio-add-jar.png) After you click Finish, the library is added as a dependency, but the Global Element Properties window does not change, just in case you want to add more dependencies throughout the Maven Dependency UI. 2. For the configuration section, the fields are: - Name - Enter a name for this Configuration to reference it later. - User - Enter the Siebel username to be used. - Password - Enter the corresponding Siebel password. - Server - Enter the server IP address of your Siebel instance. - Port - Enter the port number. Default value is 2321. - Server Name - Enter the Siebel Enterprise server name. - RSA Encryption - Choose if you want to use RSA encryption. Default value is false. - Object Manager - Enter the value of the Object Manager of your Siebel instance. - Language - Enter the language corresponding to the locale of the Siebel instance. Default value is ENU. - Encoding - Enter an encoding type supported by the Siebel server. Default value is utf8. 3. The General filters are composed of: - Default View Mode Bus Comp - Enter the default view for DataSense. The default value for this field is 3. Supported values: - 0 (SalesRepView): - Applies access control according to a single position or a sales team. - Displays records according to one of the following items: The user position or the sales team that includes a user’s position. The Visibility field or Visibility MVField of the business component determines the visibility. - 1 (ManagerView): Displays records that a user and others who report to the user can access. For example, it includes the records that Siebel CRM displays in the My Team’s Accounts visibility filter. - 2 (PersonalView): Displays records that a user can access, as determined by the Visibility Field property of the BusComp view mode object. For example, it includes the records that Siebel CRM displays in the My Accounts visibility filter. - 3 (AllView): Displays all records that includes a valid owner. For example, it includes the records that Siebel CRM displays in the All Accounts Across Organizations visibility filter. - Data Sense Filter Query Bus Objects - Use this field to write a query to filter the Business Objects metadata being downloaded into the application. - DataSense Filter Query Bus Comp - Use this field to write a query to filter the Business Components metadata being downloaded into the application. - DataSense Filter Query Int Objects - Use this field to write a query to filter the Integration Objects metadata being downloaded into the application. - Data Sense Filter Query - Use this field to write a query to filter the Business Services metadata being downloaded into the application. - Other - Use this field to define another query to filter the Business Objects, Services or Integration Objects metadata which is going to be downloaded into the application. > [!NOTE] Limit the number of objects to retrieve through DataSense to a few objects using search > specifications, otherwise retrieving metadata slows down Studio. ## Log Requests and Responses To log requests and responses when using the connector, configure a logger by adding this line to the `Loggers` element of the `log4j2.xml` configuration file for the Mule app: ```xml ``` The following example shows the `Loggers` element with the `AsyncLogger` line added: ```xml ``` You can view the app log as follows: - If you’re running the app from the Anypoint Platform, the output is visible in the Anypoint Studio console window. - If you’re running the app using Mule from the command line, the app log is visible in your OS console. Unless the log file path was customized in the app’s log file (`log4j2.xml`), you can also view the app log in this default location: `MULE_HOME/logs/.log` For more information about the app log, see [Configuring Logging](https://docs.mulesoft.com/mule-runtime/latest/logging-in-mule). ## Use Case: Studio The Siebel Connector is an operation-based connector, which means that when you add the connector to your flow you must specify an operation to perform. ### Example Use Cases The following are common use cases for the Siebel v4.0.0 connector: 1. Create a Business Component (Action, Account, etc.) 1. Create a new Mule project in Anypoint Studio. 2. Add a suitable Mule Inbound endpoint, such as the HTTP listener, to begin the flow. 3. Drag the Create business component operation from the Siebel JDB palette onto the canvas, then select it to open the properties editor. 4. Configure the operation’s parameters: ![Create business component operation properties window](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-studio-create.png) 5. Drag the Transform Message connector between the HTTP Listener and the Siebel connector on the flow. 6. Configure the input payload with the desired fields: ![Transform Message properties window with input payload configuration](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-studio-transform-create.png) 2. Execute a Business Service (Create Contact, Create Account etc.) 1. Create a new Mule project in Anypoint Studio. 2. Add a suitable Mule Inbound endpoint, such as the HTTP listener, to begin the flow. 3. Drag the Execute business service operation from the Siebel JDB palette onto the canvas, then select it to open the properties editor. 4. Configure the operation’s parameters: ![Execute business service operation properties window](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-execute.png) 5. Drag the Transform Message connector between the HTTP Listener and the Siebel connector on the flow. 6. Configure the input payload with the desired fields: ![Transform Message properties window with input payload configuration](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-transform-execute.png) 3. Execute Siebel Adapter (Creating an Integration Object) 1. Create a new Mule project in Anypoint Studio. 2. Add a suitable Mule Inbound endpoint, such as the HTTP listener, to begin the flow. 3. Drag the **Execute siebel adapter** operation from the Siebel JDB palette onto the canvas, then select it to open the properties editor. 4. Configure the operation’s parameters: ![Execute siebel adapter operation properties window](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-integration.png) 5. Drag the Transform Message connector between the HTTP Listener and the Siebel connector on the flow. 6. Configure the input payload with the desired fields: ![Transform Message properties window with input payload configuration](/mulesoft/current/en-us/siebel-connector/latest/_images/siebel-transform-integration.png) ## USE Case: XML XML snippet from a project using the Siebel Connector: ```xml ``` ## See Also [Salesforce Help](https://help.salesforce.com) --- product: Oracle Siebel Connector version: 4.0 is-latest-version: true --- # Oracle Siebel Connector 4.0 Reference > For the full documentation index, see: https://docs.mulesoft.com/llms.txt > [!NOTE] Siebel Connector 4.0.8 and later now supports IP21. Anypoint Connector for Oracle Siebel (Siebel Connector) lets you access connections between Mule runtime engine (Mule) integration apps and the Oracle Siebel customer relationship manager (CRM). ## Configurations --- ### Siebel #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

The name for this configuration. Connectors reference the configuration with this name.

x

Connection

The connection types to provide to this configuration.

x

Default View Mode Bus Comp

Number

3

Data Sense Filter Query Bus Objects

String

Data Sense Filter Query

String

Data Sense Filter Query Bus Comp

String

Data Sense Filter Query Int Objects

String

DataSense Filters

Number

3

Other

Boolean

true

Synchronized calls

Boolean

Enable this checkbox to synchronize calls made to the operations. Do so only if making multiple calls at the same time results in error messages from Siebel.

false

Expiration Policy

Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration. This does not mean that the platform expires the instance at the exact moment that it becomes eligible. Mule purges the instances as appropriate.

#### Connection Types ##### Username Password ###### Parameters
NameTypeDescriptionDefault ValueRequired

User

String

x

Password

String

x

Server

String

For multiple servers, the format must be: VirtualServer1=vid1:ip1:port1,vid2:ip2:port2;. The Port field below the Server field is ignored for multiple servers.

x

Port

String

2321

Server Name

String

x

RSA Encryption

Boolean

false

Object Manager

String

x

Language

String

ENU

Encoding

String

utf8

Reconnection

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn't pass after exhausting the associated reconnection strategy.

## Supported Operations - [Create Business Component](#createBusinessComponent) - [Delete Business Component](#deleteBusinessComponent) - [Execute](#execute) - [Execute Business Service](#executeBusinessService) - [Execute Siebel Adapter](#executeSiebelAdapter) - [Query Business Components](#queryBusinessComponents) - [Query Join Business Components](#queryJoinBusinessComponents) - [Update Business Component](#updateBusinessComponent) - [Upsert Business Component](#upsertBusinessComponent) ## Operations ### Create Business Component `` Creates a new business component. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Business Object Component Type

String

Siebel's business object component type.

x

Business Component Fields

Object

Map with the list of values to be added to the new component.

#[payload]

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

String

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:INVALID\_ATTACHMENT - SIEBEL:CONNECTIVITY - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:UNKNOWN ### Delete Business Component `` Deletes a Siebel business component record from Id. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Business Object Component Type

String

Siebel's business object component type.

x

Business Component Id

String

ID of the business component to be deleted.

x

View Mode

Number

Siebel business component view mode.

3

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Boolean

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:INVALID\_ATTACHMENT - SIEBEL:CONNECTIVITY - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:UNKNOWN ### Execute `` Executes a Siebel Service using SiebelPropertySets #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Service Name

String

Siebel's business service.

x

Method Name

String

Method to execute.

x

Input

Object

SiebelPropertySet with the input args.

#[payload]

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Object

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:CONNECTIVITY ### Execute Business Service `` Executes a Siebel Service using Maps instead of SiebelPropertySet. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Business Service

String

Siebel's business service.

x

Input Properties

Object

Map containing the input parameters for the specified Siebel business service and method.

The structure of this map is dynamic and determined by the Siebel system at runtime. When configuring the operation in Anypoint Studio, the connector retrieves metadata from the Siebel system to identify the expected input parameters for the selected method. Anypoint Studio automatically presents the relevant fields and data types, so users do not need to manually define the schema.

#[payload]

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Object

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:CONNECTIVITY ### Execute Siebel Adapter `` Execute an operation for a Siebel Integration Object using EAI Siebel Adapter. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Method

Enumeration, one of:

  • INSERT

  • UPSERT

  • UPDATE

  • DELETE

  • QUERY

  • QUERY_PAGE

  • EXECUTE

  • SYNCHRONIZE

EAI Siebel Adapter method.

x

Integration Object

String

Siebel's integration object.

x

Input Properties

Object

Map with the integration object fields.

#[payload]

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Object

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:CONNECTIVITY ### Query Business Components `` Retrieves a list of business components depending on a given search spec or search expression. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Business Object Component Type

String

Siebel's business object component type.

x

Query Definition

Object defining the query to execute.

#[payload]

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Array of Object

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:INVALID\_ATTACHMENT - SIEBEL:CONNECTIVITY - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:UNKNOWN ### Query Join Business Components `` Allows retrieving two different business object, joining them according to an specified criteria. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Business Object Component Type

String

Siebel's business object component type.

x

Query To Join Definition

Object containing the join definition for the business object.

#[payload]

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Array of Object

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:INVALID\_ATTACHMENT - SIEBEL:CONNECTIVITY - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:UNKNOWN ### Update Business Component `` Updates Siebel business component from values map. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Business Object Component Type

String

Siebel's business object component type.

x

Search Spec

Object

Map containing the spec for searching business components to update. For more information about the usage of search spec, refer to the Oracle documentation.

x

Business Component Fields

Object

Map with the list of values to be updated in the component.

#[payload]

View Mode

Number

Siebel business component view mode.

3

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Array of String

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:INVALID\_ATTACHMENT - SIEBEL:CONNECTIVITY - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:UNKNOWN ### Upsert Business Component `` Creates or updates a business component depending on whether it already exists. To check if the record exists, it queries Siebel, taking into account the list of recordIds. If the list is null, it takes the Id field from the business component fields map. #### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

The name of the configuration to use.

x

Business Object Component Type

String

Siebel's business object component type.

x

Business Component Fields

Object

Map with the list of values to be updated in the component.

#[payload]

Record Ids

Array of String

List of fields to be taken as identifiers of the record to analyze if it should be created or not.

View Mode

Number

Siebel business component view mode.

3

Target Variable

String

The name of a variable to store the operation's output.

Target Value

String

An expression to evaluate against the operation's output and store the expression outcome in the target variable.

#[payload]

Reconnection Strategy

A retry strategy in case of connectivity errors.

#### Output

Type

Upsert Result

### For Configurations - [Siebel](#siebel) #### Throws - SIEBEL:INVALID\_ATTACHMENT - SIEBEL:CONNECTIVITY - SIEBEL:RETRY\_EXHAUSTED - SIEBEL:UNKNOWN ## Types ### Reconnection
FieldTypeDescriptionDefault ValueRequired

Fails Deployment

Boolean

When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy.

Reconnection Strategy

The reconnection strategy to use.

### Reconnect
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to reconnect (in milliseconds).

Count

Number

The number of reconnection attempts to make.

blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

true

### Reconnect Forever
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often in milliseconds to reconnect.

blocking

Boolean

If false, the reconnection strategy runs in a separate, non-blocking thread.

true

### Expiration Policy
FieldTypeDescriptionDefault ValueRequired

Max Idle Time

Number

A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it’s considered eligible for expiration.

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

A time unit that qualifies the maxIdleTime attribute.

### Query Definition
FieldTypeDescriptionDefault ValueRequired

Fields

Array of String

Records

String

Search Expression

String

Search Spec

Object

Sort Spec

String

View Mode

Number

### Query To Join Definition
FieldTypeDescriptionDefault ValueRequired

Business Object Component Type To Join

String

Fields

Array of String

Fields To Retrieve Join

Array of String

Join Condition

Object

Records

String

Search Expression

String

Search Spec

Object

View Mode

Number

### Upsert Result
FieldTypeDescriptionDefault ValueRequired

Created Object Id

String

Updated Objects

Array of String

## See Also [Salesforce Help](https://help.salesforce.com)