Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Access Pentaho report from Version 7.1 community

  1. #1
    Join Date
    May 2010

    Default Access Pentaho report from Version 7.1 community

    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);

  2. #2
    Join Date
    May 2010


    Finally, I resolved it by using http client credentials.

    The code is below:

    Every thing is same except this:


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.