我正在使用.config.inc.php
。当我使用require_once('.config.inc.php');
$serviceUrl = "https://mws.amazonservices.in/Products/2011-10-01";
$config = array (
'ServiceURL' => $serviceUrl,
'ProxyHost' => null,
'ProxyPort' => -1,
'ProxyUsername' => null,
'ProxyPassword' => null,
'MaxErrorRetry' => 3,
);
$service = new MarketplaceWebServiceProducts_Client(
AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY,
APPLICATION_NAME,
APPLICATION_VERSION,
$config);
$service = new MarketplaceWebServiceProducts_Mock();
$request = new MarketplaceWebServiceProducts_Model_GetProductCategoriesForSKURequest();
$request->setSellerId('A2VE4N396R31ZE');
$request->setSellerSKU('552812PMWAAA223IH000003');
invokeGetProductCategoriesForSKU($service, $request);
样本时,我还没有得到结果。我已在{{1}}中提供了所有凭据。以下是我使用的代码:
{{1}}
我收到以下错误:
在回复中找不到类别名称,服务响应================================== == =======
String String String String String ResponseHeaderMetadata