Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
68 views1 page

SOAP vs REST: Key Differences

SOAP and REST are different approaches to building web services. SOAP is a protocol that uses WSDL and XML-based messages to expose services, while REST is an architectural style that uses HTTP and self-descriptive messages to expose resources. Some key differences are that SOAP defines strict standards, uses more bandwidth and resources, and only allows XML data, while REST uses less overhead and allows multiple data formats like JSON. Overall, REST is generally preferred over SOAP for web services.

Uploaded by

mk_k80
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views1 page

SOAP vs REST: Key Differences

SOAP and REST are different approaches to building web services. SOAP is a protocol that uses WSDL and XML-based messages to expose services, while REST is an architectural style that uses HTTP and self-descriptive messages to expose resources. Some key differences are that SOAP defines strict standards, uses more bandwidth and resources, and only allows XML data, while REST uses less overhead and allows multiple data formats like JSON. Overall, REST is generally preferred over SOAP for web services.

Uploaded by

mk_k80
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

SOAP vs REST Web Services

There are many differences between SOAP and REST web services. The important
10 differences between SOAP and REST are given below:

No. SOAP REST

1) SOAP is a protocol. REST is an architectural style.

2) SOAP stands for Simple Object REST stands for REpresentational State


Access Protocol.

3) SOAP can't use REST because it is a REST can use SOAP web services because


protocol. and can use any protocol like HTTP, SOAP.

4) SOAP uses services interfaces to REST uses URI to expose business logic


expose the business logic.

5) JAX-WS is the java API for SOAP web JAX-RS is the java API for RESTful web se
services.

6) SOAP defines standards to be REST does not define too much standards l


strictly followed.

7) SOAP requires more REST requires less bandwidth and resou


bandwidth and resource than REST. SOAP.

8) SOAP defines its own security. RESTful web services inherits security m


the underlying transport.

9) SOAP permits XML data format only. REST permits different data format such


HTML, XML, JSON etc.

10) SOAP is less preferred than REST. REST more preferred than SOAP.

You might also like