Skip to Content
0
Former Member
May 03, 2016 at 10:07 AM

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

158 Views

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