SlideShare a Scribd company logo
SOAP AND REST APIS
API Definition:
Is an interface to allow applications to
talk each other.
WHAT I SHOULD KNOW BEFORE
CALLING AN API ?
IT PROVIDES INFORMATION FOR HOW TO COMMUNICATE WITH A
SOFTWARE COMPONENT, DEFINING THE
– OPERATIONS (WHAT TO CALL)
– INPUTS (WHAT TO SEND WITH A CALL)
– OUTPUTS (WHAT YOU GET BACK FROM A CALL)
– UNDERLYING DATA TYPES
CATEGORIES OF APIS
APIS BELONG TO TWO CATEGORIES
– TRADITIONAL SERVER TO SERVER, LIBRARIES IN SOURCE
CODE
– WEB APIS (FOCUS WILL BE ON THIS THROUGHOUT THE
CLASS)
4
WEB APIS
OVER TENS OF THOUSANDS OF PUBLIC WEB APIS THAT HELP
CONNECT APPLICATIONS VIA THE INTERNET EXISTS
• WEB APIS ARE CREATED IN A WIDE RANGE OF WEB FORMATS AND
STANDARDS
– SOAP (SIMPLE OBJECT ACCESS PROTOCOL) APIS
– RPC (REMOTE PROCEDURE CALL) APIS
• JSON-RPC APIS
• XML-RPC APIS
– REST (REPRESENTATIONAL STATE TRANSFER) APIS
5
SOAP API
CAN BE USED ACROSS DIFFERENT COMMUNICATION PROTOCOLS
(HTTP, SMTP, UDP)
• REQUIRE SOAP LIBRARY IN THE CLIENT TO BUILD AND RECEIVE
REQUESTS
• CAN BE STATEFUL OR STATELESS
• REQUIRES EXTENSIVE PROGRAMMING KNOWLEDGE
• RELY HEAVILY ON XML FORMAT FOR DEFINING A WEB SERVICE
(WSDL) – XML FORMAT RESULTS IN MORE LINES OF CODE WHICH
RESULTS IN BIGGER MESSAGE SIZES MAKING THEM UNWIELD 6
SOAP REFERENCES
Sample SOAP
http://webservicex.net/new/home
Take any soap wsdl file from the above link, validate the wsdl and follow the
instructions given in below link.
Calling soap services in pl/sql
https://martin-mares.com/2010/08/oracle-db-consume-wsdl-
webservice-in-plsql/
7
REST (REPRESENTATIONAL
STATE TRANSFER)
• Typically used over http
• supports any content type (xml, json, yaml…)
• requires single command for multiple actions
• stateless
• are less difficult for new developers to use compared to soap apis
8
REST REFERENCE
Sample REST
http://training-american-ws.cloudhub.io/api/flights
Follow the instruction given in below link.
Calling rest apis from pl/sql
Https://technology.Amis.Nl/2015/05/11/invoke-a-rest-service-
from-plsql-make-an-http-post-request-using-utl_http-in-oracle-
database-11g-xe/
9
10
Thank You
Ad

More Related Content

What's hot (20)

Oracle fixed assets
Oracle fixed assetsOracle fixed assets
Oracle fixed assets
Suresh Mishra
 
Oracle apps-interview-questions
Oracle apps-interview-questionsOracle apps-interview-questions
Oracle apps-interview-questions
Pakeera Mekala
 
Oracle Apps Technical Syllabus
Oracle Apps Technical SyllabusOracle Apps Technical Syllabus
Oracle Apps Technical Syllabus
Oracle Financial R12 Online Training
 
Oracle EBS R12 Audit trial
Oracle EBS R12 Audit trialOracle EBS R12 Audit trial
Oracle EBS R12 Audit trial
Feras Ahmad
 
Configuring Parallel Approvers Notification
Configuring Parallel Approvers NotificationConfiguring Parallel Approvers Notification
Configuring Parallel Approvers Notification
Feras Ahmad
 
Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1
Panduka Bandara
 
Oracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System AdministrationOracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System Administration
Mozammel Hoque
 
PO Position Hierarchy in R12
PO Position Hierarchy in R12PO Position Hierarchy in R12
PO Position Hierarchy in R12
parinay jain
 
07 Advanced RTF Template Techniques.doc
07 Advanced RTF Template Techniques.doc07 Advanced RTF Template Techniques.doc
07 Advanced RTF Template Techniques.doc
Maqsood Joyo
 
Oracle Integration Cloud_5th_17042021.pptx
Oracle Integration Cloud_5th_17042021.pptxOracle Integration Cloud_5th_17042021.pptx
Oracle Integration Cloud_5th_17042021.pptx
ssuser77e9de
 
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay NagchowdhuryIBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
Karen Broughton-Mabbitt
 
Oracle EBS Upgrade to 12.2.5.1
Oracle EBS Upgrade to 12.2.5.1Oracle EBS Upgrade to 12.2.5.1
Oracle EBS Upgrade to 12.2.5.1
Amit Sharma
 
IBM Websphere concepts
IBM Websphere conceptsIBM Websphere concepts
IBM Websphere concepts
Kuldeep Saxena
 
Payment create a ppr for multiple legal entities (eft)
Payment create a ppr for multiple legal entities (eft)Payment create a ppr for multiple legal entities (eft)
Payment create a ppr for multiple legal entities (eft)
Kotesh Kumar
 
Oracle wms and oracle msca overview
Oracle wms and oracle msca overviewOracle wms and oracle msca overview
Oracle wms and oracle msca overview
Raj Khanna
 
Pick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle appsPick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle apps
shravan kumar chelika
 
EBS-technical_upgrade_best_practices 12.1 or 12.2
EBS-technical_upgrade_best_practices 12.1 or 12.2EBS-technical_upgrade_best_practices 12.1 or 12.2
EBS-technical_upgrade_best_practices 12.1 or 12.2
Berry Clemens
 
Ap invoice line level approval - R12
Ap invoice line level approval - R12  Ap invoice line level approval - R12
Ap invoice line level approval - R12
Anand Mallarapu
 
ADF Bindings & Data Controls
ADF Bindings & Data ControlsADF Bindings & Data Controls
ADF Bindings & Data Controls
Rohan Walia
 
R12 opm api
R12 opm apiR12 opm api
R12 opm api
Dheeraj Thapa
 
Oracle apps-interview-questions
Oracle apps-interview-questionsOracle apps-interview-questions
Oracle apps-interview-questions
Pakeera Mekala
 
Oracle EBS R12 Audit trial
Oracle EBS R12 Audit trialOracle EBS R12 Audit trial
Oracle EBS R12 Audit trial
Feras Ahmad
 
Configuring Parallel Approvers Notification
Configuring Parallel Approvers NotificationConfiguring Parallel Approvers Notification
Configuring Parallel Approvers Notification
Feras Ahmad
 
Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1Beginner’s guide to sap abap 1
Beginner’s guide to sap abap 1
Panduka Bandara
 
Oracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System AdministrationOracle EBS R12.2 - Deployment and System Administration
Oracle EBS R12.2 - Deployment and System Administration
Mozammel Hoque
 
PO Position Hierarchy in R12
PO Position Hierarchy in R12PO Position Hierarchy in R12
PO Position Hierarchy in R12
parinay jain
 
07 Advanced RTF Template Techniques.doc
07 Advanced RTF Template Techniques.doc07 Advanced RTF Template Techniques.doc
07 Advanced RTF Template Techniques.doc
Maqsood Joyo
 
Oracle Integration Cloud_5th_17042021.pptx
Oracle Integration Cloud_5th_17042021.pptxOracle Integration Cloud_5th_17042021.pptx
Oracle Integration Cloud_5th_17042021.pptx
ssuser77e9de
 
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay NagchowdhuryIBM Integration Bus and REST APIs - Sanjay Nagchowdhury
IBM Integration Bus and REST APIs - Sanjay Nagchowdhury
Karen Broughton-Mabbitt
 
Oracle EBS Upgrade to 12.2.5.1
Oracle EBS Upgrade to 12.2.5.1Oracle EBS Upgrade to 12.2.5.1
Oracle EBS Upgrade to 12.2.5.1
Amit Sharma
 
IBM Websphere concepts
IBM Websphere conceptsIBM Websphere concepts
IBM Websphere concepts
Kuldeep Saxena
 
Payment create a ppr for multiple legal entities (eft)
Payment create a ppr for multiple legal entities (eft)Payment create a ppr for multiple legal entities (eft)
Payment create a ppr for multiple legal entities (eft)
Kotesh Kumar
 
Oracle wms and oracle msca overview
Oracle wms and oracle msca overviewOracle wms and oracle msca overview
Oracle wms and oracle msca overview
Raj Khanna
 
Pick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle appsPick pack and ship confirm process in oracle apps
Pick pack and ship confirm process in oracle apps
shravan kumar chelika
 
EBS-technical_upgrade_best_practices 12.1 or 12.2
EBS-technical_upgrade_best_practices 12.1 or 12.2EBS-technical_upgrade_best_practices 12.1 or 12.2
EBS-technical_upgrade_best_practices 12.1 or 12.2
Berry Clemens
 
Ap invoice line level approval - R12
Ap invoice line level approval - R12  Ap invoice line level approval - R12
Ap invoice line level approval - R12
Anand Mallarapu
 
ADF Bindings & Data Controls
ADF Bindings & Data ControlsADF Bindings & Data Controls
ADF Bindings & Data Controls
Rohan Walia
 

Similar to Calling SOAP and REST API's from PL/SQL (20)

Introduction to API
Introduction to APIIntroduction to API
Introduction to API
rajnishjha29
 
Web Services: Dje - Sot
Web Services: Dje - Sot Web Services: Dje - Sot
Web Services: Dje - Sot
Betim Drenica
 
Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIs
Aparna Sharma
 
Integration on Force.com Platform
Integration on Force.com PlatformIntegration on Force.com Platform
Integration on Force.com Platform
Amit Jain
 
APIs enabling IoT
APIs enabling IoT APIs enabling IoT
APIs enabling IoT
Harish Vadada
 
introduction about REST API
introduction about REST APIintroduction about REST API
introduction about REST API
AmilaSilva13
 
Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface) Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface)
Vibhawa Nirmal
 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Jackson F. de A. Mafra
 
Role of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EIRole of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EI
WSO2
 
In salesfroce there are 4 types of api
In salesfroce there are 4 types of apiIn salesfroce there are 4 types of api
In salesfroce there are 4 types of api
Devang Rana
 
Salesforce Integration
Salesforce IntegrationSalesforce Integration
Salesforce Integration
Er. Prashant Veer Singh
 
Day03 api
Day03   apiDay03   api
Day03 api
ABDEL RAHMAN KARIM
 
Web service
Web serviceWeb service
Web service
Vaithiyanathan Govindarajan
 
Apitesting.pptx
Apitesting.pptxApitesting.pptx
Apitesting.pptx
NamanVerma88
 
LAJUG Napster REST API
LAJUG Napster REST APILAJUG Napster REST API
LAJUG Napster REST API
stephenbhadran
 
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
O'Reilly SACon San Jose, CA - 2019 - API design tutorialO'Reilly SACon San Jose, CA - 2019 - API design tutorial
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
Tom Hofte
 
Undisturbed rest chapter01
Undisturbed rest chapter01Undisturbed rest chapter01
Undisturbed rest chapter01
Cuong Tran
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
Blockchainizator
 
api_101
api_101api_101
api_101
samir
 
Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5
Charlin Agramonte
 
Introduction to API
Introduction to APIIntroduction to API
Introduction to API
rajnishjha29
 
Web Services: Dje - Sot
Web Services: Dje - Sot Web Services: Dje - Sot
Web Services: Dje - Sot
Betim Drenica
 
Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIs
Aparna Sharma
 
Integration on Force.com Platform
Integration on Force.com PlatformIntegration on Force.com Platform
Integration on Force.com Platform
Amit Jain
 
introduction about REST API
introduction about REST APIintroduction about REST API
introduction about REST API
AmilaSilva13
 
Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface) Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface)
Vibhawa Nirmal
 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Jackson F. de A. Mafra
 
Role of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EIRole of Rest vs. Web Services and EI
Role of Rest vs. Web Services and EI
WSO2
 
In salesfroce there are 4 types of api
In salesfroce there are 4 types of apiIn salesfroce there are 4 types of api
In salesfroce there are 4 types of api
Devang Rana
 
LAJUG Napster REST API
LAJUG Napster REST APILAJUG Napster REST API
LAJUG Napster REST API
stephenbhadran
 
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
O'Reilly SACon San Jose, CA - 2019 - API design tutorialO'Reilly SACon San Jose, CA - 2019 - API design tutorial
O'Reilly SACon San Jose, CA - 2019 - API design tutorial
Tom Hofte
 
Undisturbed rest chapter01
Undisturbed rest chapter01Undisturbed rest chapter01
Undisturbed rest chapter01
Cuong Tran
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
Blockchainizator
 
api_101
api_101api_101
api_101
samir
 
Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5
Charlin Agramonte
 
Ad

More from venkata20k (6)

Maven in mulesoft - part 2
Maven in mulesoft - part 2Maven in mulesoft - part 2
Maven in mulesoft - part 2
venkata20k
 
Maven in mulesoft
Maven in mulesoftMaven in mulesoft
Maven in mulesoft
venkata20k
 
Raml part 2
Raml part 2Raml part 2
Raml part 2
venkata20k
 
Introduction to Mulesoft
Introduction to MulesoftIntroduction to Mulesoft
Introduction to Mulesoft
venkata20k
 
Raml part 1
Raml part 1Raml part 1
Raml part 1
venkata20k
 
01. mulesoft basics
01. mulesoft basics01. mulesoft basics
01. mulesoft basics
venkata20k
 
Maven in mulesoft - part 2
Maven in mulesoft - part 2Maven in mulesoft - part 2
Maven in mulesoft - part 2
venkata20k
 
Maven in mulesoft
Maven in mulesoftMaven in mulesoft
Maven in mulesoft
venkata20k
 
Introduction to Mulesoft
Introduction to MulesoftIntroduction to Mulesoft
Introduction to Mulesoft
venkata20k
 
01. mulesoft basics
01. mulesoft basics01. mulesoft basics
01. mulesoft basics
venkata20k
 
Ad

Recently uploaded (20)

Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Datastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptxDatastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
kaleeswaric3
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Datastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptxDatastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
kaleeswaric3
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 

Calling SOAP and REST API's from PL/SQL

  • 2. API Definition: Is an interface to allow applications to talk each other.
  • 3. WHAT I SHOULD KNOW BEFORE CALLING AN API ? IT PROVIDES INFORMATION FOR HOW TO COMMUNICATE WITH A SOFTWARE COMPONENT, DEFINING THE – OPERATIONS (WHAT TO CALL) – INPUTS (WHAT TO SEND WITH A CALL) – OUTPUTS (WHAT YOU GET BACK FROM A CALL) – UNDERLYING DATA TYPES
  • 4. CATEGORIES OF APIS APIS BELONG TO TWO CATEGORIES – TRADITIONAL SERVER TO SERVER, LIBRARIES IN SOURCE CODE – WEB APIS (FOCUS WILL BE ON THIS THROUGHOUT THE CLASS) 4
  • 5. WEB APIS OVER TENS OF THOUSANDS OF PUBLIC WEB APIS THAT HELP CONNECT APPLICATIONS VIA THE INTERNET EXISTS • WEB APIS ARE CREATED IN A WIDE RANGE OF WEB FORMATS AND STANDARDS – SOAP (SIMPLE OBJECT ACCESS PROTOCOL) APIS – RPC (REMOTE PROCEDURE CALL) APIS • JSON-RPC APIS • XML-RPC APIS – REST (REPRESENTATIONAL STATE TRANSFER) APIS 5
  • 6. SOAP API CAN BE USED ACROSS DIFFERENT COMMUNICATION PROTOCOLS (HTTP, SMTP, UDP) • REQUIRE SOAP LIBRARY IN THE CLIENT TO BUILD AND RECEIVE REQUESTS • CAN BE STATEFUL OR STATELESS • REQUIRES EXTENSIVE PROGRAMMING KNOWLEDGE • RELY HEAVILY ON XML FORMAT FOR DEFINING A WEB SERVICE (WSDL) – XML FORMAT RESULTS IN MORE LINES OF CODE WHICH RESULTS IN BIGGER MESSAGE SIZES MAKING THEM UNWIELD 6
  • 7. SOAP REFERENCES Sample SOAP http://webservicex.net/new/home Take any soap wsdl file from the above link, validate the wsdl and follow the instructions given in below link. Calling soap services in pl/sql https://martin-mares.com/2010/08/oracle-db-consume-wsdl- webservice-in-plsql/ 7
  • 8. REST (REPRESENTATIONAL STATE TRANSFER) • Typically used over http • supports any content type (xml, json, yaml…) • requires single command for multiple actions • stateless • are less difficult for new developers to use compared to soap apis 8
  • 9. REST REFERENCE Sample REST http://training-american-ws.cloudhub.io/api/flights Follow the instruction given in below link. Calling rest apis from pl/sql Https://technology.Amis.Nl/2015/05/11/invoke-a-rest-service- from-plsql-make-an-http-post-request-using-utl_http-in-oracle- database-11g-xe/ 9