setDigidocServiceURL(digidocServiceURL);
this.serviceName = serviceName;
}
public final MobileIDAuthenticator setDigidocServiceURL(URL digidocServiceURL) {
DigiDocService_Service digiDocService = new DigiDocService_ServiceLocator();
try {
digiDocServicePortType = digiDocService.getDigiDocService(digidocServiceURL);
} catch (ServiceException e) {
throw new RuntimeException("Failed to initialize Mobile-ID support", e);
}
return this;
}