What is a Web Service?
A web service is any piece of software that uses REST and/or a standardized XML messaging system, described by a WSDL (Web Service Definition Language) (pronounced "wiz-dal"), to exchange data between applications or systems. A web service must have some simple mechanism for interested parties to locate the service and its public interface using standard network protocols, such as, but not limited to, SOAP over HTTP. Software applications written in various programming languages and running on various platforms can use web services transparently to exchange data over computer networks, like the Internet, because the WSDL serves as the definition of the language used by the computers.
In Product Advertising API:
-
Requests and responses occur across the Internet
-
Client and server use REST, SOAP, or XML as the means of communication
-
Client and server agree on the grammar and syntax used in the requests and responses by specifying a WSDL
-
Requests and responses are not tied to a single operating system or programming language.
A simple example is an Product Advertising API request is one that uses the
operation, ItemSearch
. This request asks Amazon's web servers
to find descriptions of items in its data bases. The web servers carry out their service
by finding the item descriptions and then sending those back to the requester.
All Product Advertising API requests are based on REST or SOAP and all of the responses are based on XML.
Note | |
---|---|
For more information about REST, see Anatomy Of a REST Request. |