simo.tuokko Posted June 18, 2021 Share Posted June 18, 2021 Hi,How to set same options/parameters for JSON datasource in Jasper Reports Server as in JasperSoft Studio? I am using 7.9.0 version of both of them.I would need to set username+password, request type, and add http header.These are only parameters I see in Jasper server UI: URI, Language and Query Link to comment Share on other sites More sharing options...
Solution simo.tuokko Posted June 22, 2021 Author Solution Share Posted June 22, 2021 I ended up importing the DataSourceAdapter.xml from studio to JasperReports Server.Also needed to change in the report's .jrxml property (as it was suggested somewhere in this forum)from: <property name="com.jaspersoft.studio.data.defaultdataadapter" value="DataSourceAdapter"/>to:<property name="net.sf.jasperreports.data.adapter" value="repo:/yyyy/DataSourceAdapter.xml"/>This way report creates the connection succesfully. 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