Skip to Content
avatar image
Former Member

JRC and XML Data Source

Hi!

Does the JRC execute a report with an XML data source (URL XML Http and URL XSD Http) ?

If yes, does the JRC change programmatically the XML data source (URL XML Http and URL XSD Http) prior to execute the report?

There is an example to do this?

Best regards,

A.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 04, 2008 at 11:51 AM

    Hello Allessandro,

    please see some [CR XI R2 JRC Web Sample apps|https://smpdl.sap-ag.de/~sapidp/012002523100006008982008E/crxi_r2_jrc_web_smpl.zip]

    and find [more java samples on our java dev community|https://boc.sdn.sap.com/java].

    Best regards

    Falk

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 12:00 PM

    Hello Allessandro,

    please find [reports with XML and XSD datasource for XI here|ftp://ftp.businessobjects.com/pub/incoming/XML_XSD_sample_reports_XI.zip].

    Best regards

    Falk

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      The link doesn't seem to exist now. Could some please point to the new URL for XML data source sample using JRC?

      I need a sample where we use Local XML File and Local XML Schema as the data source for the RPT file. Please help

      Regards

      Prithumit

  • avatar image
    Former Member
    Oct 31, 2008 at 01:59 PM

    Hi all,

    after some modification to the code i found a new problem: when i call my java method for the creation of a pdf starting from a crystal report file and the xml source, the program return in error calling

    ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream) reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);

    the error description is:

    - Disk Exporter: no output file was created by an exporter

    - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export

    java.lang.IllegalArgumentException

    at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)

    at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)

    at com.crystaldecisions.reports.a.e.if(Unknown Source)

    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)

    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)

    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)

    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

    at report.Main.main(Main.java:836)

    Now I use cristal report 2008.

    I noticed that the error only occurs if the report exceeds a certain length (about 2 pages...).

    Some suggestion?

    Andrea

    Add comment
    10|10000 characters needed characters exceeded