Product Advertising API Signed Requests Sample Code - C# SOAP WCF 4.0

Sample Code & Libraries>Product Advertising API>Product Advertising API Signed Requests Sample Code C# SOAP WCF 4.0
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

This is a Windows Communication Foundation (WCF) sample to demonstrate how to implement and configure a WCF client using a custom message inspector to sign SOAP based Amazon Product Advertising API requests. The sample uses the .NET Framework 4.0 to communicate with Amazon's Product Advertising API.


Submitted By: Don Irwin
AWS Products Used: Amazon Associates Web Service
Language(s): C#
License: Common Public License
Created On: June 15, 2010 5:36 AM GMT
Last Updated: August 6, 2010 11:44 PM GMT
The sample here is derived from Oren Trutner's article "Signing Amazon Product Advertising API — C#/WCF." Oren's example is extended to allow all the configuration to occur in the application configuration (app.config) file. All of the Amazon helper methods have been moved to a separate library that can be used/referenced in any project. A separate console app has been included that demonstrates how to use the app.config file to configure the WCF endpoints and how to add the custom MessageInspector behavior to the endpoint. Read
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.