Product Advertising API
Developer Guide (API Version 2013-08-01)

The XML Message for an ItemSearch SOAP Request

The following example is the XML for a SOAP message that calls the ItemSearch operation. While you will probably not be building the SOAP message for a service request manually, it is useful to see what your SOAP toolkit produces when provided with the appropriate values. Many SOAP toolkits require that you build a request data structure similar to the XML to make a request.

The ItemSearch element contains the parameters common to all requests. The Request element contains the ItemSearch parameters, SearchIndex and Keywords.

<?xml version="1.0" encoding="UTF-8" ?> <soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi=""> <soapenv:Body> <ItemSearch xmlns=""> <AWSAccessKeyId>AKIAIOSFODNN7EXAMPLE</AWSAccessKeyId> <Request> <SearchIndex>Books</SearchIndex> <Keywords>Harry%20Potter</Keywords> </Request> </ItemSearch> </soapenv:Body> </soapenv:Envelope>

For information about signatures and how to authenticate SOAP requests, see Authenticating SOAP Requests.