if (token==null) logger.error("token IS NULL....");
}
private it.eng.spagobi.services.dataset.stub.DataSetService lookUp() throws SecurityException {
try {
DataSetServiceServiceLocator locator = new DataSetServiceServiceLocator();
it.eng.spagobi.services.dataset.stub.DataSetService service = null;
if (serviceUrl!=null ){
service = locator.getDataSetService(serviceUrl);
}else {
service = locator.getDataSetService();
}
return service;
} catch (ServiceException e) {
logger.error("Impossible to locate [" + SERVICE_NAME + "] at [" + serviceUrl + "]");
throw new SecurityException("Impossible to locate [" + SERVICE_NAME + "] at [" + serviceUrl + "]", e);