Export using webservice doesn't work with jrprint format

0

Hello everyone !

So I made a little module for a program to export jasper reports in any format.

This works fine with xml,pdf,csv,xls,rtf and html, but the same code with ?RUN_OUTPUT_FORMAT= JRPRINT doesn't work. I saw in the documentation that it is a valid value though. The line where the error happens is this:

            File remoteFile = lResource.get(File.class);

(lResource being a com.sun.jersey.api.client.WebResource).

And I get a 404 error.

Any idea why JRPRINT files would need a different treatment to be exported ? (I don't know much about Jasper, I only made this web service)

Thank you !

questionjasper's picture
Joined: May 24 2013 - 12:37pm
Last seen: 6 years 6 months ago

2 Answers:

0

HI,

I am also facing same problem, when i provide the URL with format   http://*****/reportName.jrprint?***** . in web services it is not working , but it is working for PDF,*** all formats.

Thanks for your help,

Suman

su.man's picture
14
Joined: Feb 25 2013 - 2:55am
Last seen: 3 months 1 week ago
0

I think jasper is not correct choice.

su.man's picture
14
Joined: Feb 25 2013 - 2:55am
Last seen: 3 months 1 week ago
Feedback
randomness