jamesr219 Posted April 27, 2015 Share Posted April 27, 2015 Hello, I'd like to use JasperServer, but have it fetch data via web service which returns JSON data. Is this possible? I'm willing to write custom data source driver or whatever is needed, but was hoping someone could point me in the right direction so that I don't have to re-invent the wheel.Ideally, I would be using a REST api to request a report PDF and pass in the URL where the data could be downloaded. If it was somehow easier, I could also submit the data as a parameter but that is less clean fro my standpoint since I already have the JSON endpoints setup on my other system.Thanks,-jr Link to comment Share on other sites More sharing options...
jamesr219 Posted April 28, 2015 Author Share Posted April 28, 2015 This is possible using parameters defined in the jrxml file and not using any data adapter. See example project attached to this issue. It fetches some JSON from github API and displays it in the report. http://community.jaspersoft.com/jaspersoft-studio/issues/4606 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