Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Which one is better: REST or SOAP?

user-image
Question added by Senda Souissi , Master researcher , RedCAD
Date Posted: 2016/03/17
Shikha Sharma
by Shikha Sharma , Technical Lead - Java , Birdeye Inc.

I would choose REST over SOAP. REST is resource based, there is no particular rule, you can implement the solution as per your understanding, supports different formats and faster.

Lakshmi Raveendran
by Lakshmi Raveendran , Senior Consultant , Capgemini Bangalore

We cannot choose one from REST and SOAP as the best. Both are having its on special features. so based on the requirement we have to choose among this.

In case we are concerned about security, Better we can go with SOAP. SOAP will be support WS Security, WS addressing, Soap with attachment. 

HTTP we can use if we have to work with different data type like  XMLNS,XMLNSC,BLOB,JSON etc.

 

 

Anas Bihi
by Anas Bihi , Lead Developer / SCRUM Master , Sage

It depends on the case in which you need to use webservices: when the data does not need a specific structure as for mobile or web applications, I always recommend to use RESTful webservices, Otherwise it would be the SOAP.

 

Uttam Kumar
by Uttam Kumar , Software Engineer , Lovely Infotech

REST is better than SOAP.It works on http.It support JSON and ther data formate. while SOAP only works with xml.

javed abdulmajid sheikh
by javed abdulmajid sheikh , Senior Associate , Cognizant Solution private limited

REST is a simple,easy and light weight web service.Which is easily under stable.

Mohammad Owais Ahmad Ahmad
by Mohammad Owais Ahmad Ahmad , Sr. Engineer | Lead/Architect | DevOps | Java-Python-React: FS , Virtusa Corporation

Both with multple framework

krishna sannidhi
by krishna sannidhi , Scrum Master , Phenom People

REST supports all types of formats like XML,Json,Text and Query

 

hamza nil
by hamza nil , helper , federal institute

 Read about the company, its policies, procedures, and everything you can lay your hands on. Read, read, and read. Try to soak up as much information as you can. Keep a handy notebook. Jot down the names of people, places, clients, etc. The faintest ink is stronger than the stongest memory. I would choose REST over SOAP... it's based on HTTP and URLs so it's much easier to communicate, it supports JSON and other formats unlike SOAP which works only with XML, and I'm pretty sure it is faster. Even big companies  like Google and Yahoo has switch to REST.

Navin Meshram
by Navin Meshram , Software Engineer Product Development , Harman Connected Services

Well it seriously depends on the context. SOAP is more standardized way of inter system communication whereas REST is more of a AD-Hoc thing. 

pratik kumar
by pratik kumar , SBR Softtech Pvt Ltd

REST is much better than SOAP because Rest has client-server architecture which does not support protocol unlike SOAP service.

SOAP uses interfaces and named operations to expose the business logic.REST uses URI AND methods like (GET, PUT, POST, DELETE)to expose business logic.

SOAP Uses WSDL for comm. btwn consumer n provider.REST uses XML or JSON to send and receive data.

SOAP requires more bandwidth and resource than REST.

 

Mohammed Sallam
by Mohammed Sallam , Full-stack Software Engineer , Freelancing

I would choose REST over SOAP... it's based on HTTP and URLs so it's much easier to communicate, it supports JSON and other formats unlike SOAP which works only with XML, and I'm pretty sure it is faster. Even big companies  like Google and Yahoo has switch to REST.

More Questions Like This