[#9551] - How to access WebService DataSource from custom servlet

Category:
General
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:
1

I am successfully using WebService DataSource to access a JSON Webservice from Jaspersoft Studio.

Because of things in our environment, I needed to create a custom java servlet to run pre-existing reports. I've attached a simple example of the code I'm trying to build. When this code runs, the report that comes back has no data. This leads me to believe that the datasource is not configured correctly. What do I need to do so that my custom servlet will access the WebService DataSource and pull the data from our JSON service?

Thanks,

Howard Johnson
hjohnson@readylinkhealthcare.net

AttachmentSize
File pdfviewer.java1.96 KB
v1.1
hjohnson_1's picture
Joined: May 9 2017 - 9:05am
Last seen: 3 years 1 month ago
Feedback