Web Service Implementation of Oracle EBS Using Apache Tomcat ORDS and APEX
Web Service Implementation of Oracle EBS Using Apache Tomcat ORDS and APEX
Implementation of Oracle
EBS Using Apache,
Tomcat, ORDS, & APEX
WWW.NEOOUG.ORG/GLOC
About the speakers
– E-mail: [email protected]
– http://www.linkedin.com/in/brianhartwick
• Evelyn Bolton
– IT Tech Lead at TTI Floor Care NA
– IT professional with 25 years of Oracle development experience
– Currently working with Oracle EBS R12 and APEX v18
– E-mail: [email protected]
– https://www.linkedin.com/in/evelyn-bolton-aa66953b
• Extra thanks to Juan Rojas, IT Tech Lead at TTI Floor Care NA for his contributions to the project and presentation!
Agenda
• Project Overview
• Architecture and Solution
• Documentation and Development
• Testing Process
• Additional Notes and Reference
• Q&A
Principals and Partners
F F
I I
Web R R
Service E E
W W
Request A A
L L
L L
Apache HTTPD Tomcat & ORDS Oracle APEX Oracle EBS
Final State Architecture
Apache Web Server
• The Oracle Rest Data Services (ORDS) installation consists of unzipping the downloaded archive,
running the configuration command, and then deploying the ords.war file into the Tomcat web
applications folder
– 1. Unzip ORDS zip file
– 2. Run installation command line: java -jar ords.jar install advanced
– 3. In the prompts, select to not create the ORDS schema yet
– 4. Copy ords.war into webapps
– 5. Run ORDS schema installation (this step requires the SYS password)
– 6. If the APEX passwords have not been setup in step 3, run java -jar ords.war setup
– 7. Unzip images in webapps/i on the Tomcat server
– 8. Fix Tomcat conf/server.xml to allow some special characters on the URL
– 9. Create users via command line: java –jar ords.war user DEVONBASE “TTI API Client”
Apache Tomcat – ORDS Installation – Part One
• Custom PL/SQL package for business logic can access built-in JSON
packages that are part of APEX
Oracle APEX - Privileges
Oracle eBusiness Suite
• Oracle APEX offers you a quick and highly productive way to extend
your Oracle E-Business Suite environment with almost no impact to
your existing implementation
• Our Oracle APEX server has limited access to the Oracle EBS via explicit
grants to a dedicated custom user/schema (XXAPEX_EBS_EXT)
– GRANT SELECT ON APPS.AP_INVOICES_ALL TO XXAPEX_EBS_EXT;
– GRANT SELECT ON APPS.AP_INVOICE_LINES_ALL TO XXAPEX_EBS_EXT;
– GRANT SELECT ON APPS.TTI_WS_AP_INVOICES_V TO XXAPEX_EBS_EXT;
– GRANT SELECT ON APPS.TTI_WS_AP_APPROVERS_V TO XXAPEX_EBS_EXT;
– GRANT SELECT ON APPS.TTI_WS_AP_VENDORS_V TO XXAPEX_EBS_EXT;
Documentation & Development – Existing Definitions
{
"pickslips":[
{
"DELIVERY_ID":20412442,
"ACCOUNT_NUMBER":"01384",
"PARTY_NAME":"AMAZON SUPPLY",
"SOURCE_HEADER_NUMBER":"10579254",
"TRIP_ID":11123582,
"ORGANIZATION_CODE":"ODC",
"ATTRIBUTE3_DATE":"2018-09-11T00:00:00Z",
"CUST_PO_NUMBER":"3ETTNNCY",
"ATTRIBUTE1":"00416830084820082",
"ATTRIBUTE4":"00416830084820075"
}
]
}
Testing your web services - Powershell
• Using Invoke-WebRequest
cmdlet, script many
connection tests and
capture JSON and timing
Testing your web services - Postman