Jump to content
We've recently updated our Privacy Statement, available here ×

How do I reference an XML data file in a report on JasperServer


dan_17

Recommended Posts

I have a report that uses an XML file. I can create the report and data adapter easily enough in JasperStudio, and everyting works. I have issues when I deploy it to the JasperServer. I change my data adapter xml to point to the xml file in /Reports/patientData.xml, but when I run it tells me that it cannot find the input stream at /Reports/PatientData.xml. Not sure what I am doing wrong. Any suggestions?

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I figured this out myself. I had been modifying a data adapter xml file that was originally set up to use a URL instead of a file.

I ceated a new data adapter and exported is, changed the file location to "repo:/ContentFiles/xml/myfile.xml" and everything worked correctly

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...