このツールキットを使用して、Rally の Web サービス API をテストしようとしています。Rally の内部セットアップがあります。私のコードは次のようになります。
RallyRestApi restApi = new RallyRestApi (new URI("https://rally"), "userName", "password");
restApi.setApplicationName("Test");
restApi.setWsapiVersion(wsapiVersion);
String workspaceRef = new String("/workspace/11457676");
String projectRef = new String("/project/11457760");
String storyFormattedID = "US576";
QueryRequest storyRequest = new QueryRequest("HierarchicalRequirement");
storyRequest.setFetch(new Fetch("FormattedID","Name","Owner"));
storyRequest.setQueryFilter(new QueryFilter("FormattedID", "=", storyFormattedID));
storyRequest.setWorkspace(workspaceRef);
storyRequest.setProject(projectRef);
QueryResponse storyQueryResponse = restApi.query(storyRequest);
....
"...." の前の lase 行は例外を生成します: javax.net.ssl.SSLPeerUnverifiedException: ピアが認証されていません。ブラウザでこのように Web サービスに手動でアクセスすると、証明書エラー「https://rally/slm/webservice/1.29/defect/10509982」があることに気付いた以外は正常に動作します。
誰もこれを経験していますか?ありがとう。