Hello!
Is it possible, to open a report, incl. one Parameter, just with typing a URL?
Example: http://jasperserver.com/report?report=calculation¶meter1=123456
Thank you!
1 Answer:
Posted on March 29, 2014 at 6:26am
Yes. Check the following documentation:
http://community.jaspersoft.com/documentation/jasperreports-server-web-s...
Hello! Thank you! This helps. I can start the execution of the report, but when I want to download it, I get the Error 404. The request ID does not exists. I run the report syncron. After finish, I get the Answer XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<reportExecution>
<exports>
<export>
<id>pdf</id>
<outputResource>
<contentType>application/pdf</contentType>
</outputResource>
<status>ready</status>
</export>
</exports>
<reportURI>/reports/Besuchsreport</reportURI>
<requestId>1226381261_1396628457096_84</requestId>
<status>ready</status>
<totalPages>2</totalPages>
</reportExecution>
So I copy the requestID and try:
http://192.168.111.1:8080/jasperserver/rest_v2/reportExecutions/12263812...
But get Error 404
Also:
http://192.168.111.1:8080/jasperserver/rest_v2/reportExecutions/12263812...
show error 404.
Maybe you have an idea? Must I set up on the server something?
And how long is the report available to download on the server?
Thank you!
OK, got it. It was because I don´t use cookies in my code. Now it works!
Thanks!