RESTFUL web service and its methods.

RESTFUL web service
RESTFUL web services are used for web transfer

RESTFUL web service: As we know, web service concentrates on client and server communication to handle a specific service. As a result, a simple independent service sent to client.

In web services, It has two different kinds of approaches. They are:
1) SOAP web service
2) RESTFUL web service


SOAP stands for ” Simple Object Access Protocol”. It helps the transfer the data between client and server. Basically Its a XML based protocol which mainly focus data transfer using a structed protocol.

Along with that, it has elements like WSDL and UDDI. Moreover This helps to enhance the relationship and improve the performance of website.

WSDL stands for ” Web Service Descriptive Language”, which helps for transferal of specific service. If its new relationship, then client send request to UDDI and connect with it.

RESTFUL web service

Its another type of web service. If the service which follows REST architecture Principle is known as RESTFUL web service. REST stands for ” RE presentation State Transfer”.

Unlike SOAP, its design principle. It mainly focus on what data to fetch rather than how to fetch required data. Moreover its language independent.

RESRFUL web service is stateless, lightweight protocol. Nowadays Its the most used transfer web resource protocol, because of easy access method and its uniform interface.

Principles of RESTFUL web service

Though the above given definition defines the RESTFUL web service, practically it needs to follows certain principle to termed as it. They are:
1) Uniform Interface
2) Stateless
3) Cacheable
4)Layered system
5) Code on Demand

Uniform Interface

Uniform Interface is the main principle this web service. Basically it has three main components in it. They are:
1) Resource
2) URL


Everything in this web service is considered as Resource. Basically We can access any single segment from a entire code and use as a resource. Moreover it makes it lightweight and convenient to handle.


URL stands for “Uniform Resource Locator”. Primarily RESTFUL web services access based on this URL. Moreover Through this, all the activity in web happens.


HTTP stands for “Hyper Text Transfer protocol”. Here web transfer takes place using the HTTP protocol. Moreover all the method in this protocol like GET, POST, DELETE, PUT using its URL.