C# 亚马逊产品广告 API
自 8 月 15 日起,亚马逊强制要求签署对其产品广告 API 提出的所有请求。我以为一切都工作得很好,但当 15 号终于到来时,我的 Web 应用程序停止工作,几乎从我一直试图找出如何签署 SOAP 请求开始。
Amazon 有一个过时的签名请求示例代码,该代码似乎不起作用 此处
基本上,我需要知道如何使用最新的 C# SOAP API 和 .NET 3.5 向我的请求添加签名。
我希望我已经提供了足够的细节,如果没有,请随时要求我详细说明。
谢谢
The_Lorax
更新: 我正在使用 MVC,需要知道如何将签名添加到 ItemLookup 或 AWSECommerceService 对象。是否有包含签名值的属性?它如何附加到请求中?
在此页面上,他们说我必须包括签名和时间戳参数,但智能感知现在确实显示任何此类属性。
As of August 15, Amazon made it compulsory to sign all requests made to their Product Advertising API. I thought I had got everything working just fine but when the 15th finally came around, my web application stopped working and pretty much ever since I have been trying to find out how to sign the SOAP requests.
Amazon has an outdated sample code for signing requests that doesn't appear to work here
Basically, I need to know how to add a signature to the my requests using the most current C# SOAP API and .NET 3.5.
I hope I have given enough details, if I haven't please feel free to ask me to elaborate.
Thank You
The_Lorax
UPDATE:
I am using MVC and need to know how to add the Signature to the the ItemLookup or AWSECommerceService object. Is there an attribute that contains the signature value? How does it get attached to the request?
On this page, they say that I must include the Signature and TimeStamp parameters but the intellisense does now show any such attributes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 http://flyingpies.wordpress.com/2009/08/01/17 /。它有一个演练和一个在 .NET 3.5 上使用 C#、SOAP、WCF 的示例 Visual Studio 解决方案。
Check out http://flyingpies.wordpress.com/2009/08/01/17/. It has a walkthrough and a sample visual studio solution using C#, SOAP, WCF on .NET 3.5.
该库自动签署请求(Install-Package Nager.AmazonProductAdvertising)
https://www.nuget.org/packages/Nager.AmazonProductAdvertising/
示例:
This library automatic sign the requests (Install-Package Nager.AmazonProductAdvertising)
https://www.nuget.org/packages/Nager.AmazonProductAdvertising/
Example: