tchen_1 Posted June 20, 2018 Share Posted June 20, 2018 So I have a java servlet called MyServlet that returns xml data when I call http://localhost:8080/MyJavaApp/MyServlet, and I would like to use this as a data source.The documentation for remote xml data sources (https://community.jaspersoft.com/wiki/remote-xml-datasource) seems very out of date, so I was wondering if there's documentation for doing so for the latest version of jasperserver and jasper studios?In particular, the old documentation says:[by default JasperReports Server does not ship with the xpath2 query executer, for this we'll need a jar file that comes with iReport.Copy jasperreports-extensions-3.5.3.jar from /ireport/modules/ext to JasperReports Server/jasperserver-pro/WEB-INF/lib/jasperreports-extensions-3.5.3.jar (or if using Jaspersoft Studio plugins/com.jaspersoft.studio.data_5.6.0.final.jar and plugins/com.jaspersoft.studio_5.6.0.final.jar)Add the following line to /jasperserver-pro/WEB-INF/classes/jasperreports.propertiesnet.sf.jasperreports.query.executer.factory.xpath2=com.jaspersoft.jrx.query.JRXPathQueryExecuterFactoryRestart Tomcat]Is this still the case? If so, what jars from jasper studios are needed now?Thanks! Link to comment Share on other sites More sharing options...
ricardo_26 Posted June 21, 2018 Share Posted June 21, 2018 Same issue here. If I try to use remote XML data source I get the exeption: com.jaspersoft.jasperserver.api.common.virtualdatasourcequery.VirtualDataSourceException: Teiid Virtual Data Source Query Service - unsupported data source: Link to comment Share on other sites More sharing options...
szaharia Posted June 22, 2018 Share Posted June 22, 2018 Here is an updated wiki article which may be helpful:https://community.jaspersoft.com/wiki/remote-xml-data-sources-tibco-jasperreports-server 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