Ebay支持一些API调用方式,包括Name-Value对和XML。几乎所有示例都是XML格式。 请帮我翻译以下XML代码到JSONP URL
<?xml version="1.0" encoding="utf-8"?>
<GetCategoriesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>ABC...123</eBayAuthToken>
</RequesterCredentials>
<CategorySiteID>0</CategorySiteID>
<DetailLevel>ReturnAll</DetailLevel>
</GetCategoriesRequest>
我想出了这个网址
http://svcs.ebay.com/services/search/FindingService/v1
?SECURITY-APPNAME=DmitryKh-8c0f-4272-80d0-a0df7dca76f8
&OPERATION-NAME=GetCategories
&SERVICE-VERSION=1.0.0
&RESPONSE-DATA-FORMAT=JSON
&callback=_cb_findCategories
&REST-PAYLOAD
&CategorySiteID=0
&DetailLevel=ReturnAll
但是它给了我错误消息“服务操作GetCategories未知”
/**/_cb_findCategories({"errorMessage":[{"error":[{"errorId":["2000"],"domain":["CoreRuntime"],"severity":["Error"],"category":["Request"],"message":["Service operation GetCategories is unknown"],"subdomain":["Inbound_Meta_Data"],"exceptionId":["com.ebay.soaframework.common.exceptions.ServiceException"],"parameter":[{"@name":"Param1","__value__":"GetCategories"}]}]}]})