A web service is a software system designed to support interoperable machine-to-machine interaction over a network.
A web service is a software system designed to support interoperable machine-to-machine interaction over a network.
Typically, the service exposes an interface, often defined using WSDL (Web Service Definition Language), for users to be able to execute some function on the system that provides the service.
There are two broad types of web services:
- Arbitrary Web Services - in which the system exposes arbitrary operations
- REST-compliant Web Services - in which the primary purpose of the service is to manipulate representations of Web resources using a uniform set of stateless operations.
Messages can be passed between the service and it's clients in a variety of formats. Some of the most common are:
- JSON-RPC
- JSON-WSP
- XML-RPC