fohnbit Posted March 28, 2014 Share Posted March 28, 2014 Hello!Is it possible, to open a report, incl. one Parameter, just with typing a URL?Example: http://jasperserver.com/report?report=calculation¶meter1=123456Thank you! Link to comment Share on other sites More sharing options...
Solution hozawa Posted March 29, 2014 Solution Share Posted March 29, 2014 Yes. Check the following documentation:http://community.jaspersoft.com/documentation/jasperreports-server-web-services-guide/v550/running-report-asynchronously Link to comment Share on other sites More sharing options...
fohnbit Posted April 4, 2014 Author Share Posted April 4, 2014 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"?> pdf application/pdf ready /reports/Besuchsreport 1226381261_1396628457096_84 ready 2 So I copy the requestID and try: http://192.168.111.1:8080/jasperserver/rest_v2/reportExecutions/1226381261_1396628457096_84 But get Error 404 Also: http://192.168.111.1:8080/jasperserver/rest_v2/reportExecutions/1226381261_1396628457096_84/exports/pdf/outputResource 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! Link to comment Share on other sites More sharing options...
fohnbit Posted April 4, 2014 Author Share Posted April 4, 2014 OK, got it. It was because I don´t use cookies in my code. Now it works! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now