SOAP Requests

You can interact with the web service using SOAP 1.1 over HTTP. The WSDL file, which describes the API in a machine-readable way, is available at: http://wsearch.amazonaws.com/doc/2007-03-15/AlexaWebSearch.wsdl . The Alexa Web Search response schema is available at: http://wsearch.amazonaws.com/doc/2007-03-15/AlexaWebSearch.xsd.

Most SOAP users will interact with Alexa Web Search using a SOAP toolkit tailored for their language and development environment. Different toolkits will expose the API in different ways. Please refer to your specific toolkit documentation to understand how to use it. This section illustrates SOAP operations in a toolkit-independent way by exhibiting the XML requests and responses as they appear "on the wire."

Every request must contain authentication information to establish the identity of the principal making the request. In SOAP, the authentication information is put into the following elements of the SOAP request:

Every request must contain authentication information to establish the identify of the principal making the request. In SOAP, the authentication information is put into elements in the <Request> element. The parameters needed for authentication are in the following table.

ParameterDescription
AWSAccessKeyId Your AWS Access Key Id
TimestampThe current time in UTC format. Authorization will fail if this Timestamp is more than 15 minutes away from the clock on the Amazon servers. The Timestamp must be URL encoded.
Signature A request signature calculated by concatenating the Action name and Timestamp and then calculating an RFC 2104-compliant HMAC-SHA1 hash of that string using the Secret Access Key. Please see the code samples in the language of your choice for examples of how to generate the signature. The signature generation code is identical for both SOAP and Query requests.