API and Web Services
web service (WS)
• a service offered by an electronic device to another electronic device,
communicating with each other via the Internet, or
• a server running on a computer device, listening for requests at a
particular port over a network, serving web documents
(HTML, JSON, XML, images).
web service (WS)
web service (WS)
Types of web services
Types of web services
• Extensible Markup Language. XML is used to tag, code and decode
data. XML-remote procedure call, or XML-RPC, is a basic XML protocol
using HTTP to exchange data and communicate between client and
server systems.
• Simple Object Access Protocol. SOAP is an XML-based web service
protocol used to transfer data using SOAP messages. The SOAP
protocol was developed to enable different programming languages
to communicate quickly and with minimal effort using HTTP or Simple
Mail Transfer Protocol (SMTP).
• Web Services Description Language. WSDL is used to tell the client
application what's included in the web service and how to connect.
Variations on WSDL include Web Services Conversation Language and
Web Services Flow Language.
• Representational State Transfer. Based on HTTP, REST provides
interoperability between devices and the internet for application
programming interface (API)-based tasks. While not all RESTful web
services use the REST protocol, applications built with RESTful
APIs are more lightweight, manageable and scalable.
• Universal Description, Discovery and Integration. UDDI is an
XML-based standard that lists and details what services are available
in an application. It makes web services discoverable to other services
and facilitates digital transactions and e-commerce.
WSDL
• Service Provider publishes an interface for his web services that
describes all attributes of the web services.
• This is XML based interface and is called Web Services Description
Language WSDL.
• Describes the functionalities of the web services.
WSDL
UDDI