I want clear explanation on REST and SOAP

pujithag
Tera Contributor
 
9 REPLIES 9

Shraddha Kadam
Mega Sage

Hello @pujithag ,

 

FeatureRESTSOAP
Architectural Style / ProtocolArchitectural StyleProtocol
Message FormatPrimarily JSON, also XML, textExclusively XML
ComplexitySimpler, lightweightMore complex, heavier
SpeedGenerally fasterGenerally slower (due to XML overhead)
WSDLNo fixed contract (relies on URI)Requires WSDL for service description
HTTP MethodsUses standard HTTP methods (GET, POST, etc.)Uses HTTP but often as a transport for XML messages
SecurityRelies on HTTPS, OAuth, API keysBuilt-in security standards (WS-Security)
Use CasesModern web/mobile apps, public APIs, fast integrationsLegacy systems, enterprise apps with high security/transaction needs
If my response was helpful, please mark it as correct and helpful.
Thank you.

Ankur Bawiskar
Tera Patron
Tera Patron

@pujithag 

this is a very generic question and answer to this can be found on google or any AI tool

check these links

What's the Difference Between SOAP and REST? 

Difference between REST API and SOAP API 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @pujithag 

 

https://aws.amazon.com/compare/the-difference-between-soap-rest/

 

https://www.servicenow.com/community/developer-forum/difference-between-rest-soap-based-web-services...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Harish Bainsla
Kilo Patron
Kilo Patron
1 An Introduction of ServiceNow Integration| Rest Integration Part-1 in ServiceNow| Overview Topics are covered in this video - What is ServiceNow Integration Uni-directional & Bi-directional Integration Flow Https Methods Rest & SOAP web services API ServiceNow APIs Inbound & Outbound Integration