Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Running RPT from Java with XML as data file

$
0
0

Hi there,

 

I have build and ran my own report with Crystal's report builder. The report is using the following data source "ADO.NET(XML)" in order to read the data from XML file, not a database. It contains sub-reports.

 

Now I am trying to invoke the report from Java code. I've done some research on the net and there aren't many examples with Java API that use XML as a data source.

 

Attachments:
CrystalReportProcessorTest.java - what I've done so far. I am getting exception at line 54.
Error message.txt - the exception thrown.

Crystal data source dialog.jpg - I think the exception is related to the data-source that is currently set (NewDataSource)

 

I will really appreciate any help on this topic. I've tried to run my RPT file from Java for weeks now with no success.

 

Thanks,
Joro


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>