2. Agenda
Webservices
REST Vs SOAP
REST Adapter
Call External API in OIC
Expose a SOAP API
SOAP API in OIC
3. Webservices or APIs
Webservice is the way to communicate between applications without knowing
each other technologies.
Webservice is a standardized medium to propagate communication between the
client and server applications on the World Wide Web.
A webservice is a software module that is designed to perform a certain set of
tasks.
4. Type of Webservices
1. SOAP stands for Simple Access Object Protocol. SOAP is a protocol which was
designed before REST and came into the picture. The main idea behind designing
SOAP was to ensure that programs built on different platforms and programming
languages could exchange data in an easy manner.
2. REST stands for REpresentational State Transfer. It is a set of rules that
developers follow when they create their API. One of these rules states that you
should be able to get a piece of data (called a resource) when you link to a
specific URL.
5. REST Vs SOAP
SOAP REST
It is a protocol. It an architectural style.
It work with XML. It work with JSON, XML, Plain Text, HTML.
Don’t use any very. Works on HTTP and HTTPs
protocol.
It works with verb like:
• GET
• PUT
• POST
• DELETE
• PATCH
Heavy weight Light Weight