Reputation: 45
I want call web service or rest API from jaspersoft Studio Proffessional proffesional, I tired to create JSON file/XML file adapter and putted http://api.population.io:80/1.0/countries in File or url section but it's not working.
Is there any other way to call web services or rest API from jasperstudio proffessional or I can add some web service adapter to jaspersoft studio proffesional? In my jasper studio there is not adapter which connect to web service or rest api and use them as data source. Note: my jasperstudio version is : 6.2
Thanks.
Upvotes: 1
Views: 1315
Reputation: 36
Use a local JSON file to check if it works. If not, the problem is in your JSON (or better in the expression you are using to get records out of it, or even the way you are mapping your fields).
Upvotes: 1