' oicbasics: January 2020
January 25, 2020

Development of integration using OIC Agent | Oracle Integration Cloud

Overview :

In the previous blog ( click to see the blog ) we have learned basics about OIC Connectivity Agent and the steps to install it in a local machine (personal laptop)

Now in this blog we will create an integration to insert records into a database using the installed connectivity Agent.

*Make sure your system is connected with open network.

- Advertisement -

Prerequisite :

  • Oracle database 11g XE(Express Edition)software. Access this blog to download the software and to know the steps to configure it in a local machine (your personal laptop).
  • Configure OIC connectivity Agent. ( You can Access this blog to configure it. )

High-Level development Steps :
  1. Create a connection to connect with oracle database.
  2. Create a scheduled integration.
  3. select the above database connection and configured it by selecting the operation name and table name.
  4. Hardcode one message which you want to insert in database.
  5. Run the integration & submit it.
  6. Open the SQL developer & verify the record get inserted into the database.

Let's see the steps in detail:

Create Connection :

STEP 1:  Select Oracle Database Adapter in create connection panel.

  • Enter Connection Name & click Ok.

- Advertisement -

  • Now configure the connection properties by adding local database connection details which we configured in the previous blog.

                                   *Host : localhost
                  *Port : 1522
                   SID  : xe

  • Click Ok.

  • Now add the local database credentials and then click Ok.

                           *Username : SYSTEM
           *Password : enter the local database password 

  • Select Agent Group which we have configured in previous blog.

  • Click Save , Test and Close.

  • Connection is ready to use.

- Advertisement -


Create Integration : 

Create new Schedule Integration having meaningful name and description. 

STEP 2:Select the database connection which we have configured above.

  • select table "TEST_AGENT" which we have created in previous blog 

  • Click Import Tables

  • Select & declare primary key. Click Ok

  • Click Next.
  • Click Done.

- Advertisement -

STEP 3: Click to Edit the mapper 

  • Right Click 'message' tag and click "Create Target Node"

  • Hard code any message (ex: "Agent007") & then click Validate and Close.

- Advertisement -

STEP 4: Enable the Tracker 

STEP 5: Save and Close the Integration.

  •  Activate integration and Submit it. 

- Advertisement -

STEP 6: Open SQL developer and run the select query , you can see the message get inserted into your localhost database successfully.

  • Done.

Download Oracle Database 11g XE (Express Edition)

Basics about Oracle Database 11g XE (Express Edition) :


Free Oracle Database for Everyone :
Whether you are a developer, a DBA, a data scientist, an educator, or just curious about databases, Oracle Database 18c Express Edition (XE) is the ideal way to get started. It is the same powerful Oracle Database that enterprises rely on worldwide, packaged for simple download, ease-of-use, and a full-featured experience. You get an Oracle Database to use in any environment, plus the ability to embed and redistribute – all completely free!

- Advertisment -

Now lets see the Steps to download and configure database in localhost i.e. in your personal laptop :
January 3, 2020

OIC Connectivity Agent Installation Steps

Knowledge :  👀 

Basics About OIC Connectivity Agent ?: 

The on-premises connectivity agent enables you to create integrations and exchange messages between on-premises applications and Oracle Integration Cloud Service. 
For example, sending requests from a cloud application to a on-premise database.

One case scenario describe through below diagram :


OIC Connectivity Agent High-Level Installation Steps :

  1. Create an Agent Group in the OIC Console
  2. Download the Connectivity Agent zip file from the OIC Console
  3. Unzip the contents of the zip file on the on-premise agent machine
  4. Update the InstallerProfile.cfg with the details of the OIC environment and on-premise network
  5. Run the agent using java -jar connectivityagent.jar