Professional Documents
Culture Documents
Received Response
59
Views
5
Comments
Content
We want to build a custom integration between OTM and EBS using Rest APIs. We are trying to get json response from
OTM Rest API using Python code. After getting the response, we want to transform and map data to EBS format and then
post the modified data to EBS using EBS Rest API. Is it possible with python code only? We don't want to use any PaaS
service (OIC) or BPEL. We want to write a custom code in python which can perform the full integration task. Is it
possible? And what are the other requirements to build such integration?
If someone has tried this before or has knowledge about this then kindly help.
Thanks
Version
OTM (19C)
Tagged:
APIs
Gateways
Integration
Answers
User_TSKZ2 Primary DBA Member
Mar 26, 2020 4:52PM edited Mar 26, 2020 4:52PM
custom code /PLSQL/XML/python will do it.
(assuming you have license to customize) please check fine print on licensing and adding your own objects
in EBS -ISG
if you are using transportation management, SOA is needed in the middle inhouse if you don't want to use
OIC.
the composites for seeded functionality and security available if you build and load SOA internally,
anything out of box you are on your own without violating licensing(key to remember).
Yasir Humayun Business Analyst Red Ribbon
Mar 27, 2020 10:28AM edited Mar 27, 2020 10:28AM
But we do not want to use SOA. We are already using OIC for integration between EBS and OTM. But
sometimes data from OTM cannot be transferred to OIC and our processes stop. To remedy this situation
we want to create a backup system that retrieves data from OTM whenever OIC is down and sends it to
EBS. Can't we do this only with OTM Rest API and python code?
Phil -91662 Senior Consultant Silver Trophy
Mar 28, 2020 3:15AM edited Mar 28, 2020 3:15AM
It is certainly possible. The question is why use Python code.
Essentially your code needs to call a rest service with the correct credentials on OTM. Take the
JSON response, use a parser and write code to construct a JSON or XML object. Then
serialize/stringfy the output object to put it into an HTTP call to EBS.
What isn't clear from your question is how this process is going to be triggered, and where you will host the code. You will
also need to ensure all the necessary credentials and URLs are configuration driven and the credentials are encrypted.
Yasir Humayun Business Analyst Red Ribbon
Mar 30, 2020 8:39AM edited Mar 30, 2020 8:39AM
Thanks for clearing my ambiguities. This guide is really helpful. I have created an integration user in OTM.
But when I try Get command to retrieve resources with this user credentials, I get access forbidden error.
This is the URI for these resources:
https://servername.em3.oraclecloud.com/logisticsRestApi/resources-int
I have created the user with INTEGRATION ACL granted. What else needs to be configured?
I am using this documentation:
https://docs.oracle.com/cloud/latest/otmcs_gs/OTMRA/Quick_Start.html
This document does not specify anything about the configuration of integration user in OTM.
Yasir Humayun Business Analyst Red Ribbon
Mar 30, 2020 1:22PM edited Mar 30, 2020 1:22PM
Resolved:
Authorization to access specified resources must be provided through access control lists in OTM for
integration user. I added an access control for a REST resource and now I am able to retrieve that resource
with GET command.