Web services#

What are web services?#

A web service is a software function that is hosted at a network addressable location. IBM

Distributed systems rely on web services.

What they solve?#

Web services attempt to solve some of the problems presented by other distributed systems development technologies:

Architecture#

Web services follows Client-Server pattern.

Client-Service

Views#

Conceptual#

Technological#

They are two main approaches:

SOAP vs. REST#

SOAP#

SOAP is a protocol for information exchange in a decentralized and distributed environment.

Defines a message architecture and its formats in XML. The language is WSDL.

WSDL#

WSDL examples here.

REST#

REST services are viewed as resources and may be invoked with an URI.

Consider HTTP not only as a transport protocol, but also as an API.

More about REST here.