Oracle Cloud ERP(SaaS) Technical Interview Questions- SOAP/REST API

  • SOAP
    • Simple Object Access Protocol
    • SOAP is a protocol which is used to interchange data between applications which are built on different programming languages. SOAP is built upon the XML specification and works with the HTTP protocol. 
  • REST
    • Representation State Transfer
    • A REST API (also known as RESTful API) is an application programming interface (API or web API) that conforms to the constraints of REST architectural style and allows for interaction with RESTful web services
  • How SOAP/REST API are used in Oracle Cloud ERP?
    • Oracle Provides SOAP/REST API for the purposed of performing CRUD (Create, Read, Update and Delete) operations on the different entities
    • SOAP/REST API – are used for both Inbound and Outbound Integrations
    • Availability of these webservices depends on the modules, always validate the latest info from: docs.oracle.com to check out the availability of a service on a particular entity
  • SOA/REST Comparison
SOAP vs REST Web ServiceSOAPREST
MeaningSimple Object Access ProtocolRepresentational State Transfer
DesignStandard protocol with predefined rules to followArchitectural style with loose recommendation and guidelines
ApproachFunction-drivenData-driven
StatefulnessStateless by default but a SOAP API can be made statefulStateless in nature, no server-side sessions
CachingAPI calls are not cachedAPI calls are cached
SecurityWS-Security with SSL support. Provides an inbuilt ACID complianceSupports SSL and HTTPS
PerformanceRequires more power, resources, and bandwidth.Requires fewer resources
Messaging formatOnly XMLXML, JSON, plain text, YAML, HTML and others
Transfer protocolsSMTP, HTTP, UDP, and othersOnly HTTP
NatureHeavyweightLightweight
Recommended forFinancial services, enterprise level apps, payment gateways, high-security apps, telecommunication services.Public APIs for web services, social networks, and mobile services.
AdvantagesStandardization, security, extensibilityHigh Performance, Scalability, Flexibility and browser friendliness
DisadvantagesMore complex, poor performance, less flexibilityUnsuitable for distributed environments, less security
CouplingTIghtly CoupledLoosely coupled

Leave a Reply

Your email address will not be published.