}
String responseText;
try {
responseText = Streams.readAll(response.getInputStream());
} catch (IOException e1) {
throw new ReportDownloadResponseException(response.getHttpStatus(), e1);
}
DetailedReportDownloadResponseException exception =
new DetailedReportDownloadResponseException(response.getHttpStatus(), responseText);
XmlFieldExtractor extractor = new XmlFieldExtractor();
Map<String, String> fields = extractor.extract(