Hi,
I have created a report that uses an XML Datasource. This report works fine from the Crystal IDE but does not run through a Tomcat Java servlet. I get an exception when trying to set the datasource of the ReportClientDocument to an implementation of IXMLDataSet. Here's the stack trace:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: org/gjt/xpp/XmlPullParserException---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source)
I would have thought that there's a problem with the xsd or xml file but since the IDE is able to use the same files and generate the report I'm confused.
I have attached the data xml, schema xsd and a snippet of the code. I am using the java libraries from the Crystal Reports XI Release 2 Service pack 2.
Any pointers will be greatly appreciated.
Thanks,
Saurabh