@Override
public InputStream getTemplateStream(String reportId) {
reportId = reportId.substring(reportId.indexOf('_') + 1);
InputStream templateStreamResult = null;
if (isConfigOk()) {
<BUG>m_webResource = m_client.resource(m_remoteRepositoryDefintion.getURI() + "templateStream/" + reportId);
</BUG>
try {
<BUG>templateStreamResult = m_webResource.get(InputStream.class);
</BUG>
} catch (Exception e) {

@Override
public String getDisplayName(String reportId) {
reportId = reportId.substring(reportId.indexOf('_') + 1);
String result = "";
if (isConfigOk()) {
WebTarget target = getTarget(m_remoteRepositoryDefintion.getURI() + "displayName/" + reportId);
try {
result = getBuilder(target).get(String.class);
