[英]Amazon product advertising API WCF4 Example
I try to get the Amazon PAAPI C# Example to run but my ItemSearchResponse
is always null. 我尝试让Amazon PAAPI C# 示例运行,但我的
ItemSearchResponse
始终为null。
What i did: 我做了什么:
accessKeyId
and secretKey
in app.config
. app.config
设置我的accessKeyId
和secretKey
。 (VS2012 gives a warning by the way that behavior has a invalid child element signingBehavior?!) <xs:element minOccurs="0" maxOccurs="1" name="ImageSets">
in the AWSECommerceService.wsdl <xs:element minOccurs="0" maxOccurs="1" name="ImageSets">
Reverence.svcmap
Reverence.svcmap
上运行自定义工具 itemSearch.AssociateTag = "myassociateTag-20";
itemSearch.AssociateTag = "myassociateTag-20";
what am i doing wrong? 我究竟做错了什么? In Fiddler it seems that i am getting the right response to my request.
在Fiddler中,看来我对我的要求得到了正确的答复。 At least i am getting search results in an xml.
至少我在xml中获取搜索结果。
the wsdl in the example seems to be not correct. 示例中的wsdl似乎不正确。
i replaced it with the one from 我用一个从
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl
via copy and paste and did step 2,3 and 4 again. 通过复制粘贴,然后再次执行步骤2,3和4。 Now it works
现在可以了
在Visual Studio 2012下“运行自定义工具”不可用。因此,我只能在VS2010下使它运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.