exception thrown

master
Vyacheslav N. Boyko 2017-06-23 12:18:00 +03:00
parent b8535b62b6
commit 9eb1e50e80
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<groupId>ru.bvn13</groupId>
<artifactId>licenseserverjclient</artifactId>
<version>1.4</version>
<version>1.5</version>
<name>LicenseServerJClient</name>

View File

@ -26,9 +26,9 @@ public class LicenseChecker {
this.clientId = clientId;
}
public CheckClientLicenseResponse.Response checkLicense(String properties) {
public CheckClientLicenseResponse.Response checkLicense(String properties) throws Exception {
try {
// try {
URL url = new URL("http://licenseserverj.cf/ws/checkLicense?WSDL");
QName qname = new QName("http://checkLicenseJ.bvn13.ru", "CheckLicenseWSService");
@ -44,6 +44,7 @@ public class LicenseChecker {
CheckClientLicenseResponse.Response result = checkLicenseWS.checkClientLicense(params);
return result;
/*
} catch (MalformedURLException e) {
CheckClientLicenseResponse.Response result = new CheckClientLicenseResponse.Response();
result.setClientId(this.clientId);
@ -53,6 +54,7 @@ public class LicenseChecker {
e.printStackTrace();
return result;
}
*/
}
}