-
Notifications
You must be signed in to change notification settings - Fork 0
Cloud ERP: Launch OIC integrations from the Oracle Cloud ERP ESS job
There’s a straightforward and speedy way to initiate Oracle Cloud Integration (OIC) integrations right from Oracle Cloud ERP. This document highlights the key information needed to make it happen.
- HTTP connection to connect Oracle Cloud ERP and Oracle Integration Cloud.
- AppDriven OIC integration that returns an XML payload.
- An ESS job paired with a BIP report that can initiate an HTTP request
Develop an AppDriven integration capable of producing a response that looks like the following XML.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:element name="integrationResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="integrationStatus" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
The following is a basic integration created for demo purposes, which can be enhanced to a more advanced level based on business requirements.
Once the AppDriven integration is developed, we need to find the Endpoint URL for the AppDriven integration, which can be utilized in BIP reports to initiate integrations.
Configure HTTP Connection in Oracle Cloud ERP Data Sources comprised of the OIC base URL
Navigation: Oracle Cloud ERP → Tools → Reports and Analytics → Administration → Manage Publisher → Data Sources → HTTP Connect
Note: To establish an HTTP connection, Oracle Cloud ERP requires a basic username and password. As of now, there are no other authentication options, such as OAuth, that can be used for this connection. Thus, we need a dedicated service user with limited permissions to trigger OIC integrations.
We’ve proposed an enhancement in the Oracle Idea Lab to improve security options for HTTP sources. If you’re interested in more secure configuration choices, we’d love your support with an upvote!
Develop a BIP Report by leveraging an HTTP data source created in previous step
Note: Few things to keep in mind while designing BIP report
- Since the base OIC URL is configured in the HTTP connection, we should specify the endpoint URL by leaving out the base URL.
- We should create all the parameters required to call the OIC integrations as BIP parameters and map the parameters accordingly.
Create an ESS job to trigger BIP report
Submit the ESS job from ERP
Review the integration submitted in OIC
I've included some sample code (Sample Code.zip) for your reference. Please make any necessary configurations to ensure it works in your environment.
Disclaimer: All views and code in this repository are based on my personal experience. Please review and test the code thoroughly, as you may need to make corrections or adjustments for appropriate usage in your specific context.