kairat.biy Posted December 26, 2012 Share Posted December 26, 2012 I am running report on the JR server (v5.0.0 CE) calling v2 restful service like as following:http://localhost:8080/jasperserver/rest_v2/reports/reports/MyReport.pdf?REPORT_LOCALE=tr_TRThe report MyReport.jrxml is designed in iReport and it can run and show the report both in EN and TR locales after changing iReport's locale through "Compilation and execution" settings appropriately. After uploading the report with its bundle properties files to the server, I tried to specify the locale of the running report by passsing REPORT_LOCALE parameter in the url as shown above. However the pdf output is rendered using server's locale ie en_US.So I want to know how to specify the locale of the to be run report on the server via rest webservices, preferably v2 rest ws?Thanks. Link to comment Share on other sites More sharing options...
Solution kairat.biy Posted February 14, 2013 Author Solution Share Posted February 14, 2013 I was able to solve my problem by appending userLocale=en to the login POST request. Then use the session key of the returned response for the upcoming next requests. 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