SOAP tutorial
SOAP services Amazon API demo

## Preliminaries

- The online retailer Amazon.com has provided developers with an interface, that will allow them to do product searches based on a keyword, and a base category.
- The API is used either by a SOAP call or by a fetch of a XML document.
- Amazon.com suggests you to download the developer kit. However this is optional, as it is not necessary to run the following OpenLink tutorial.
- A developer key is required to access the service. One may be applied for at the Amazon.Com Web API page.
- The service requests may be configured in various ways by the parameters supplied to the API.

## Example Product search using SOAP API

- In the SQL setup file, the SOAP call is prepared by the function call to soap_wsdl_import() which reads in the web service ".wsdl" file from Amazon.com.
- Enter the Developer Key, result type, root node for the search, and the keyword to be searched for.
- Hit the search button to get the products matching the keyword.
- This example uses the "heavy" mode of results, that contains the full customer reviews.
- A local stylesheet is applied to the result for either an XML or HTML view.