Hi dezkev
We previously announced that by August 15, 2009, the Product Advertising API will require all requests to be authenticated using request signatures. Many of you have already implemented signed requests or are in the process of implementing it, and we thank you for your timely cooperation.
Please look this thread or more information. :
http://developer.amazonwebservices.com/connect/ann.jspa?annID=444
http://flyingpies.wordpress.com/2009/08/01/17/
Step 1 – Create a sample console application
In Visual Studio 2008, select New/Project… from the File menu.
Select Console Application from Visual C#/Windows, and enter the application’s name.
Click OK
Visual Studio creates a new console application. So far, this isn’t different than any other console app.
Step 2 – Add a web service reference
In the Solution Explorer view, right click References, then select Add Service Reference…
.
Step 3 – Add code to access the Product Advertising API.
You could update your program as follows to have it connect to the product advertising API and search for books with “WCF” in their title. Make sure to add a using statement to reference the namespace you chose for the service in step 2.
Step 4 — Add the authentication code
Step 5 – Make the Amazon ECS client authenticate
Finally, to make our Amazon ECS client actually authenticate its requests, modify the main() method as follows:
// create a WCF Amazon ECS client
AWSECommerceServicePortTypeClient client = new AWSECommerceServicePortTypeClient(
new BasicHttpBinding(BasicHttpSecurityMode.Transport),
new EndpointAddress(”https://webservices.amazon.com/onca/soap?Service=AWSECommerceService”));
// add authentication to the ECS client
client.ChannelFactory.Endpoint.Behaviors.Add(new AmazonSigningEndpointBehavior(”ItemSearch”, accessKeyId, secretKey));
The Developer Guide has details on what signed requests are and how to construct signed requests.
Sample Code for Signed Requests is available in Java, C# and Perl.
Our technical staff and other customers are available to answer questions on our Community Forum .
More resources can be found at the Product Advertising API home page .
Best wishes
Xingwei Hu