Jump to content
We've recently updated our Privacy Statement, available here ×

Khancer

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by Khancer

  1. Hello, 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(); rd.setWsType(ResourceDescriptor.TYPE_REPORTUNIT); rd.setUriString(uri); 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..
  2. Hi, I have a problem, i upload a report who has images, the reference are OK i can see the images when run the report in JasperServer, but in my program when i convert the byte[] into a PDF i can see the text but i cant see any images, i know that the images are well reference because i can see it in jasperserver. Can anyone help me please, i cant find a solution. PS: Sorry for my english is not my native lenguage
×
×
  • Create New...