Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

When to use RESTful Web Service, and when to use SOAP Web service? and Why?

user-image
Question added by محمد حسام الدين حسن صدقى , Senior Functional Consultant , Egabi Fsi
Date Posted: 2016/07/30
Marvel John Madathumpady
by Marvel John Madathumpady , Senior Java Developer , Cyspan Systems

REST can handle both XML and JSON. At present 90% projects using REST to communcate with server systems. By using we can transfer any media type also.

SOAP can only send XML. and REST is much easier to handle than SOAP

Yatesh  Chauhan
by Yatesh Chauhan , Sr, Java Developer , Wells Fargo

RESTFul Web Services serves JSON that is faster to parse than XML.

Soap can only return XML object but Rest can return multiple formats like JSON , XML , HTML and text etc.

Rest is faster then Soap.

More Questions Like This