puneetsharma030 Posted January 23, 2012 Share Posted January 23, 2012 Hii all , i need to downlaod the .jrxml file from the jasper server using the REST api. i am using jasperserverreports-4.5.0.for downlaoding the file i used the following URLhttp://localhost:8080/jasperserver/rest/resource/reports/demo_reports/demo_date_time_files/demo_date_time_jrxml?file=attachmentalong the valid jsession ID in the header. the header contains the following detailsUser-Agent: FiddlerHost: localhost:8080Cookie: $Version=0;JSESSIONID=5DCD1E60CF4D5D461BBCE992B7064222; Path=/jasperserverwhile doing all the things right i am still getting (400) BAD Request error. kindly help me. Link to comment Share on other sites More sharing options...
danparrott Posted February 15, 2012 Share Posted February 15, 2012 Instead of appending '?file=attachment' try using '?fileData=true', e.g.: http://jasperadmin:jasperadmin@localhost:8080/jasperserver/rest/resource/images/JRLogo?fileData=true 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