Create a Connection

Before you can build an integration, you have to create the connections to the applications with which you want to share data.

To create a connection in Oracle Integration:

  1. In the left navigation pane, click Home > Integrations > Connections.

  2. Click Create.

    Note:

    You can also create a connection in the integration canvas of:
  3. In the Create Connection — Select Adapter dialog, select the adapter to use for this connection. To find the adapter, scroll through the list, or enter a partial or full name in the Search field and click Search iconSearch.

  4. In the Create Connection dialog, enter the information that describes this connection.
    Description of create_connection.png follows
    Description of the illustration create_connection.png

    1. Enter a meaningful name to help others find your connection when they begin to create their own integrations. The name you enter is automatically added in capital letters to the Identifier field. If you modify the identifier name, don't include blank spaces (for example, SALES OPPORTUNITY).
    2. Enter optional keywords (tags). You can search on the connection keywords on the Connections page.
    3. Select the role (direction) in which to use this connection (trigger, invoke, or both). Only the roles supported by the adapter are displayed for selection. When you select a role, only the connection properties and security policies appropriate to that role are displayed on the Connections page. If you select an adapter that supports both invoke and trigger, but select only one of those roles, you'll get an error when you try to drag the adapter into the section you didn't select. For example, let's say you configure a connection for the Oracle Service Cloud (RightNow) Adapter as only an invoke. Dragging the adapter to a trigger section in the integration produces an error.
    4. Enter an optional description of the connection.
  5. Click Create.

    Your connection is created. You're now ready to configure the connection details, such as connection properties, security policies, connection login credentials, and (for certain connections) agent group.

Configure Connection Properties

Enter connection information so your application can process requests.

  1. Go to the Connection Properties section.
  2. If configuring the connection to use direct connectivity (that is, you are not using the connectivity agent):
    1. In the Host field, specify the host.
    2. In the Service Name field, specify the database service name. It is recommended that you use the low profile as the database service name. The database service name is not the same as the database service username that you specify in the Security section.

      Note:

      The service name must be the same as the one in the tnsnames.ora file in the wallet. However, if you receive an error when testing the connection, it may be because the name is too long. See Service Name Specified on the Connections Page is Too Long.
  3. If configuring the connection to use the connectivity agent:
    1. In the Host field, specify the host.
    2. In the Port field, specify the SQL*Net port.
    3. In the SID field, specify the database SID.
    4. In the Service Name field, specify the database service name. It is recommended that you use the low profile as the database service name. The database service name is not the same as the database service username that you specify in the Security section.

      Note:

      You must specify either a SID or service name value. Do not specify values for both fields.

Configure Connection Security

Configure security for your database connection by selecting the security policy and setting login credentials. A database connection is only allowed for publicly accessible databases.

  1. Go to the Security section.
  2. Select the security policy.
  3. If you select JDBC Basic Authentication:

    Note:

    Using the Username Password Token security policy, you can create and successfully test the connection to the database without the connectivity agent if the database is present in the same private network as the Oracle Integration instance. If the database is not in the same private network, it is not recommended that you connect without the connectivity agent because the connection won't be secure.
    1. Enter the database service username and password to connect to the Oracle Autonomous Transaction Processing database. The database service username is the schema username for the user to log in to the database. The database service username is not the same as the database service name that you specify in the Connection Properties section.
    2. Re-enter the password a second time.
  4. If you select JDBC Over SSL:

    Note:

    The Oracle Autonomous Transaction Processing Adapter can connect through the connectivity agent when using the wallet. It can be used as a trigger connection only if the connectivity agent is used in the connection. However, all operations that you select on the Basic Info page such as Run a SQL Statement, Invoke a Stored Procedure, and Perform an Operation On a table are supported when configuring the adapter to use direct connectivity (without the connectivity agent).
    1. In the Wallet field, select the check box, then click Upload to upload the wallet file.
    2. Enter the wallet password, then re-enter it a second time to confirm.
    3. Enter the database service username and password to connect to the Oracle Autonomous Transaction Processing database. The database service username is the schema username for the user to log in to the database. The database service username is not the same as the database service name that you specify in the Connection Properties section.
    4. Enter the database password a second time to confirm.

Configure an Agent Group

Configure an agent group for accessing the service hosted on your premises behind the fire wall.

  1. Click Configure Agents.
    The Select an Agent Group page appears.
  2. Click the name of the agent group.
  3. Click Use.
To configure an agent group, you must download and install the on-premises connectivity agent. See Download and Run the Connectivity Agent Installer and About Connectivity Agents and Integrations Between On-Premises Applications and Oracle Integration in Using Integrations in Oracle Integration.

Test the Connection

Test your connection to ensure that it's configured successfully.

  1. In the page title bar, click Test. What happens next depends on whether your connection uses a Web Services Description Language (WSDL) file.
    If Your Connection... Then...

    Doesn't use a WSDL

    The test starts automatically

    Uses a WSDL

    A dialog prompts you to select the type of connection testing to perform:

    • Validate and Test: Performs a full validation of the WSDL, including processing of the imported schemas and WSDLs. Complete validation can take several minutes depending on the number of imported schemas and WSDLs. No requests are sent to the operations exposed in the WSDL.

    • Test: Connects to the WSDL URL and performs a syntax check on the WSDL. No requests are sent to the operations exposed in the WSDL.

  2. Wait for a message about the results of the connection test.
    • If the test was successful, then the connection is configured properly.
    • If the test failed, then edit the configuration details you entered. Check for typos, verify URLs and credentials, and download the diagnostic logs for additional details. Continue to test until the connection is successful.
  3. When complete, click Save, then click Back button.