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="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ItemSearch
xmlns="http://ecs.amazonaws.com/AWSECSCommerce/onca/soap"> <AWSAccessKeyId>0PAP1H1P8JJVZEXAMPLE</AWSAccessKeyId> <Request> <SearchIndex>Books</SearchIndex> <Keywords>Harry%20Potter</Keywords> </Request> </ItemSearch
> </soapenv:Body> </soapenv:Envelope>