Ethan
Ethan

Reputation: 45

How to call web service or rest api from jaspersoft Studio Proffessional?

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.

enter image description here

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

Answers (1)

Giulio Toffoli
Giulio Toffoli

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

Related Questions