Hello folks,

I need your help. Acutually i was using Pentaho reporting 3.6 version from last six years and now I want to move it to latest version.
Everything is working fine except making the connection between my java application and penatho server.Earlier I used HTTP client credentials method to access reports from penatho server.

I think a lot has been changed in it.Do u have any idea how to call pentaho reports from Java application.

My earlier code is like:

// method.setPath("/pentaho/content/reporting?renderMode=report&solution=bi-developers&path=reporting&output-type=txt&name=24qPart2.prpt");
"attachment;filename=24QRQ" + prd_id + ".txt");
Credentials defaultcreds = new UsernamePasswordCredentials(
"admin", "password");
HttpClient client = new HttpClient();
client.getState().setCredentials(null, null, defaultcreds);
int statusCode = client.executeMethod(method);