0

我在一个objective-c 项目中使用亚马逊产品搜索WSDL。由于 Objective-c 对 SOAP 没有任何直接支持,因此我不能只使用 wsdl 并将所有其他处理留给我的应用程序。

我想知道亚马逊产品搜索的服务 uri 是什么。这是我正在使用的 WSDL

http://soap.amazon.com/schemas2/AmazonWebServices.wsdl

非常感谢您的帮助。

4

2 回答 2

0

“服务”一词仅在 xml 中出现 3 次,因此我假设您要查找的是:

<service name="AmazonSearchService"> 
    <!-- Endpoint for Amazon Web APIs --> 
    <port name="AmazonSearchPort" binding="typens:AmazonSearchBinding"> 
        <soap:address location="http://soap.amazon.com/onca/soap2"/> 
    </port> 
</service>

编辑:在浏览器中访问该 url会显示一个带有此消息的页面:

Amazon Ecommerce Web Service 3.0 在 2008 年 3 月 31 日经过多年的有用服务后已被弃用。请按照迁移指南中的详细说明升级到 Amazon Associates Web Service 4.0 。请访问 Amazon Associates Web 服务开发者论坛了解更多信息。如果您从 RSS 提要访问此页面,请访问亚马逊的产品 RSS 提要 页面进行升级。

迁移指南有许多 WSDL 位置,具体取决于您想要的国家站点;美国站点的 wsdl 位于http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl,架构位于http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.xsd

于 2010-01-06T11:31:26.400 回答
0

前往 https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html,您将能够访问完整的文档。SOAP 端点在此处列出: http ://docs.amazonwebservices.com/AWSECommerceService/2009-10-01/DG/index.html?SOAPEndpoints.html

于 2010-01-11T15:19:22.270 回答