CodesJava

Easy learning with example program codes

what are different types of web services?


There are two types of web services:

SOAP web services:
SOAP stands for Simple Object Access Protocol. It is used to transfer the data. It is a XML-based messaging-layer protocol. SOAP can be used in combination with a variety of transport protocols like HTTP, SMTP, and JMS etc.
Note: SOAP is part of the set of standards specified by the W3C.

RESTful web services:
REST stands for REpresentational State Transfer. Unlike SOAP it is a web standards based architecture and not protocol. It uses HTTP protocol for data communication. REST provides the facility to represent a resource in various formats like text, JSON and XML.

Note: JSON is the most popular format.

Related topics:



Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap