您好我正在测试MarketplaceWebService.Samples.But它总是响应错误的请求。 invaild请求。 任何人都可以帮忙看看。 感谢。
SubmitFeedRequest request = new SubmitFeedRequest();
request.Merchant = merchantId;
request.MWSAuthToken = "<Your MWS Auth Token>"; // Optional
request.MarketplaceIdList = new IdList();
request.MarketplaceIdList.Id = new List<string>(new string[] { marketplaceId });
request.FeedContent = File.Open("feed.xml", FileMode.Open, FileAccess.Read);
request.ContentMD5 = MarketplaceWebServiceClient.CalculateContentMD5(request.FeedContent);
request.FeedContent.Position = 0;
request.FeedType = "_POST_PRODUCT_DATA_";
SubmitFeedSample.InvokeSubmitFeed(service, request);
feed.xml 1.01 machantid 产品 假 1 更新 testsku UPC 123456789