Amazon Product Advertising API C#

后端 未结 3 1726
情书的邮戳
情书的邮戳 2020-12-31 23:21

Can somebody tell me C# excample of using Amazon Product Advertising API, for example to lookup item. All i found is not working now because of changes.

Thanks!

3条回答
  •  庸人自扰
    2020-12-31 23:41

    There's a C# sample here:

    http://aws.amazon.com/code/Product-Advertising-API/3941

    FWIW, the AWS thread I mentioned includes these steps for a workaround:

    These are the steps as of January 31, 2012 to fix this issue in Visual Studio for .Net clients:

    1) Click the "Show all files" button in the Solution Explorer for the project containing the amazon service reference.

    2) Expand the reference and open the AWSECommerceService.wsdl file in the editor

    3) On line 584 change the "maxOccurs' to "1".

    
    

    4) Save the AWSECommerceService.wsdl file

    5) Right click Reference.svcmap and click "Run custom tool"

    6) Expand Reference.svcmap and open either Reference.cs or Reference.vb

提交回复
热议问题