I have created a .jrxml file which runs nicely in JasperSoftStudio using a Data Sources Adapter that points to a local XML file, however I am unable to execute the report from JasperReports Server, once the .jrxml file and .xml file are moved to the server.
After uploading the .jrxml file, and trying to run it from JasperReports Server, I get an empty report (as expected)
I then manually placed SampleReport.xml in the root directory of the application (C:\Jaspersoft\jasperreports-server-cp-6.0.1\apache-tomcat\webapps\jasperserver) and then I try and load the report (with the .xml file) by appending
&XML_URL=SampleReport.xml
to the URL of the report.
I also tried appending &XML_URL=https://localhost:8080/jasperserver/SampleReport.xml
(this URL will correctly display the .xml file as-is if entered by itself)
What am I doing wrong?
I have attempted to follow the instructions in http://community.jaspersoft.com/wiki/remote-xml-datasource but to no avail.
I copied the com.jaspersoft.studio.data_6.0.4.final.jar as instructed, and restarted the Tomcat Server. I also set the following in my .jrxml file
<parameter name="xml_url" class="java.lang.String">
<defaultValueExpression><![CDATA["http://localhost:8080/simple.xml"]]></defaultValueExpression>
</parameter>
<queryString language="xPath">
<![CDATA[/ROOT/BEAN]]>
</queryString>