当前位置:编程学习 > JAVA >>

关于amazon mws Inventory的问题

FBAInventoryServiceMWSConfig config = new FBAInventoryServiceMWSConfig();
        config.setServiceURL(MWSEndpoint.US.toString());
        //FBAInventoryServiceMWS service = new FBAInventoryServiceMWSClient(accessKeyId, secretAccessKey, config);
        FBAInventoryServiceMWS service = new FBAInventoryServiceMWSClient(accessKeyId, secretAccessKey, applicationName, applicationVersion, config);
        FBAInventoryServiceMWS service_ex= new FBAInventoryServiceMWSMock();

         gc gxml=new gc();
         SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
         
         Date after_date = formatter.parse("2011-01-01 10:10:10");
         ListInventorySupplyRequest request = new ListInventorySupplyRequest();
         request.setMarketplace(marketplaceId);
         request.setQueryStartDateTime(gxml.date_to_gc(after_date));
         request.setSellerId(OrdersSampleConfig.sellerId);
         request.setResponseGroup("Detailed");
         invokeListInventorySupply(service, request);

这个是我的代码,按照amazon 的要求修改的,但是运行之后结果却是:
ListInventorySupply Action Response
=============================================================================

    ListInventorySupplyResponse

        ListInventorySupplyResult

            InventorySupplyList

        ResponseMetadata

            RequestId

                e1dbdt98-8ca5-4067-ceb5-e85062b63a4b
下载不了产品的库存信息!有没有高手弄过,希望指点一下,哪里出了问题!不胜感激! --------------------编程问答-------------------- who can help me? Help!
补充:Java ,  Java相关
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,