Jump to content
JasperReports Library 7.0 is now available ×

Deploy a Report (JasperServer) Through a WebService


Recommended Posts


i want to deploy a report  that i have uploaded in JasperServer through a WebService. This is a part of my code:

 public JasperPrint runReport(String uri,java.util.Map parameters) throws Exception {
        ResourceDescriptor rd=new ResourceDescriptor();
        return server.getWSClient().runReport(rd, parameters);
JasperPrint print=client.runReport(report, params);              
 byte[] pdf =JasperExportManager.exportReportToPdf(print);
The problem is when I transform the byte[] pdf to a pdf file, the pdf comes with the text, but comes without any images.
when I run the report in jasperserver this comes with images, but when I call it with the webservice comes without them.
I hope someone can help me..


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...