Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

A crystal reports IReportAppFactory.openDocument ,waiting for the openDocument () the method return value!

$
0
0

Hello everyone!

 

I use Eclipse to write a small program to open in the Crystal Report XI Server encountered a problem! The Java code is as follows:

 

  IReportAppFactory rptAppFactory = (IReportAppFactory) enterpriseSession.getService("", "RASReportService");

  System.out.println("-----Opening...");

  System.out.println("-----infoObject.Title:"+infoObject.getTitle());

  ReportClientDocument reportClientDocument = rptAppFactory.openDocument(infoObject, 0, Locale.ENGLISH);

  System.out.println("-----OK...");


And then in the JSP page to call this method!

 

The console to print:

-----Opening...

-----infoObject.Title:bookTest

 

Eclipse progress bar has been stuck motionless! Debugging display has been waiting for the openDocument () the method return value!

 

The bookTest.rpt statement can access InfoView through the browser address, browse content!

 

The Crystal is the new Report Crystal Report XI Server, is this what configuration? What steps are needed? What is the specific?

Please master answer, thank you!!!


-Alex


Viewing all articles
Browse latest Browse all 3189

Trending Articles



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