wsIdentifier);
if (Thread.currentThread().isInterrupted()) {
callback.cancelled();
return;
}
DataFile clientFile = new DataFile(wsFile.getLocalPath(), wsFile.getCompressedData());
callback.fileWasDownloaded(identifier, clientFile);
} catch (RemoteException e) {
callback.caught(convert(e));
} catch (ServiceException e) {
callback.caught(new IntegrationServerException("Failed to call webservice: " + e.getMessage(), e));