ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Which one is better: REST or SOAP?

user-image
تم إضافة السؤال من قبل Senda Souissi , Master researcher , RedCAD
تاريخ النشر: 2016/03/17
Shikha Sharma
من قبل 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
من قبل 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
من قبل 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
من قبل 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
من قبل 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
من قبل Mohammad Owais Ahmad Ahmad , Sr. Engineer | Lead/Architect | DevOps | Java-Python-React: FS , Virtusa Corporation

Both with multple framework

krishna sannidhi
من قبل krishna sannidhi , Scrum Master , Phenom People

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

 

hamza nil
من قبل 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
من قبل 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
من قبل 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
من قبل 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.

المزيد من الأسئلة المماثلة