Amazon Product APIへのSearch-Requestを作成しましたが、応答が空です。コードの何が問題になっているのか、ヒントを教えてください。
コード:
String awsAccessKeyID = "<AWS-KEY>";
String test = "<ASSOCIATE-TAG>";
AWSECommerceService service = new AWSECommerceService();
service.setHandlerResolver(new AwsHandlerResolver("<SECRET-KEY>"));
AWSECommerceServicePortType port = service.getAWSECommerceServicePort();
ItemSearch ItemSearch = new ItemSearch();
ItemSearch.setAWSAccessKeyId(awsAccessKeyID);
ItemSearch.setAssociateTag(test);
ItemSearchRequest SearchRequest = new ItemSearchRequest();
java.util.List<ItemSearchRequest> list = ItemSearch.getRequest();
list.add(SearchRequest);
SearchRequest.setSearchIndex("All");
SearchRequest.setKeywords("nas");
ItemSearch.getRequest().add(SearchRequest);
ItemSearch.setMarketplaceDomain("https://ecs.amazonaws.de/onca/xml?Service=AWSECommerceService");
SearchRequest.getResponseGroup().add("Large");
Holder<OperationRequest> operationrequest = new Holder<OperationRequest>();
Holder<java.util.List<Items>> items = new Holder<java.util.List<Items>>();
port.itemSearch(ItemSearch.getMarketplaceDomain(), ItemSearch.getAWSAccessKeyId(), ItemSearch.getAssociateTag(), ItemSearch.getXMLEscaping(), "True", ItemSearch.getShared(), ItemSearch.getRequest(), operationrequest, items);
java.util.List<Items> result = items.value;
System.out.println(result);
ResultSetはまだ空ですが、エラーは発生していません。