Inbound and Outbound Web Services in Salesforce
Introduction to Inbound web Service
It's associate degree inbound call to Salesforce, however outward-bound call to the external system. Here, the external system is the client and Salesforce is that the publisher of internet services.
Introduction to Outbound web Services
Outbound web service is once Salesforce expends any outer/outsider application web service, a choice must send to the outer framework. It's partner degree inbound call to the outside framework, anyway outward-bound call to Salesforce. Here, the external system is that the publisher of internet services and Salesforce is the client.
Don't forget to check out: Understanding Metadata API in Salesforce | The Developer Guide
There are 2 normally used internet service:
SOAP(Simple Object Access Protocol)
SOAP is an internet service design, that specifies the fundamental rules to be thought-about whereas coming up with internet service platforms.
- It works over with Hypertext Transfer Protocol, Hypertext Transfer Protocol Secure, Simple Mail Transfer Protocol, Extensible Messaging and Presence Protocol.
- It works with Web Services Description Language.
- It supports normal XML format.
- SOAP Supports information within the type of XML only
SOAP API is most popular for services among the enterprise in any language that supports internet services.
REST (Representational State Transfer)
Basically It is an alternative architecture pattern of Soap.
- It works mainly on both HyperText transfer protocol and HyperText transfer protocol Service.
- It works to perform CRUD operations with GET, POST, put and DELETE verbs.
- It is supported by URI.
Introduction to Apex Callout
SOAP is that the recent customary and some cloud suppliers like AWS have deprecated support and Apex supports every SOAP and REST.
By making a call to external net service an Apex decision out permits you to integrate the methodology with an external service.
APEX also provides a bunch of classes or categories to receive and send messages and also you have to first register the positioning at intervals on the Remote web site Settings page.
Introduction to Outbound messaging
Workflow rules mainly enable you to send departing messages in Extensible Markup Language (XML) format to the external systems. sphere values are in the departing values. This can be a good feature, however, no support for causation JSON limits the usability.
Introduction to Apex web Services
Apex strategies can expose as a web service. Apex internet service will simply be invoked by External applications.
Ex: Build light-weight internet services
Check out another amazing blog by Ratnesh here: How Salesforce Help Us to Adjust AI Technique During Instability In a Time of Crisis
Introduction to Inbound Email
Other ways, we can also send data with changesets:-
Inbound and Outbound changesets to use in transferring data between sandbox to production org. It uses to transfer CORS Whitelist Origin, Action Link Group Template, Apex Class, Campaign Influence Model, Apex Sharing Reason, Apex Trigger, Compact Layout, Action, Button or Link, Approval Process, Article Type, Asset File, Assignment Rule, Assistant Recommendation Type, Aura Component Bundle, Auth. Provider, Auto-Response Rule, Channel Menu Deployment, Chatter Extension, Classic Letterhead, Communication Channel Layout, Call Center, Content Security Policy Trusted Site, etc.
Reference: doi, biswajeetsamal