Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-9625]
  • Loading branch information
kreyssel authored and kohsuke committed Jun 15, 2011
1 parent 65c1611 commit 6ea3643
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/hudson/plugins/jira/JiraProjectProperty.java
Expand Up @@ -141,9 +141,12 @@ protected FormValidation check() throws IOException,
return FormValidation.error(Messages
.JiraProjectProperty_JiraUrlMandatory());
}


// call the wsdl uri to check if the jira soap service can be reached
try {
if (findText(open(new URL(url)), "Atlassian JIRA"))
URL soapUrl = new URL(new URL(url), "rpc/soap/jirasoapservice-v2?wsdl");

if (findText(open(soapUrl), "wsdl:definitions"))
return FormValidation.ok();
else
return FormValidation.error(Messages
Expand Down

0 comments on commit 6ea3643

Please sign in to comment.