Java 用の eBay Finding API をいじって、含まれているチュートリアルに基づいて基本的なテスト検索を実行しています。呼び出しは完了しますが、java.lang.IllegalArgumentException
実行中に例外がスローされます。
この例を基にした基本的なコードは次のとおりです。
ClientConfig config = new ClientConfig();
config.setEndPointAddress("http://svcs.ebay.com/services/search/FindingService/v1");
config.setGlobalId("EBAY-GB");
config.setApplicationId("my app id");
FindingServicePortType serviceClient =FindingServiceClientFactory.getServiceClient(config);
FindItemsByKeywordsRequest request = new FindItemsByKeywordsRequest();
request.setKeywords("HTC One X");
FindItemsByKeywordsResponse result = serviceClient.findItemsByKeywords(request);
System.out.println("Ack = "+result.getAck());
ログ出力は次のとおりです。
[ERROR] 2012-11-01 16:52:09,847
fail to get xml string from SOAP message
java.lang.IllegalArgumentException: Not supported: indent-number
他の誰かがこれを経験したことがありますか/理由がわかりましたか?