Skip to Content
0
Former Member
Jul 27, 2007 at 11:52 PM

com.crystaldecisions.sdk.exception.SDKException$ServiceNotFound: The service ReportEngine could not be found

232 Views

I am attempting to automate the "Save As" or export funtion of a webi doc but the documentation that states:

ReportEngine repEngine = (ReportEngine)EnterpriseSession.getService("ReportEngine");

Fails with:

com.crystaldecisions.sdk.exception.SDKException$ServiceNotFound: The service ReportEngine could not be found

When I run:

enterpriseSession.getServiceNames("CMSName", 0);

There is now "ReportEngine" listed.

Can anyone help????? This is not JSP but a command line app that simple need to open a doc, then to getView() to get the binary version of the Webi doc in PDF and simply save to disk via some java method.

I can get the doc, query reports, schedule reports, etc.. Just not export the report to disk.

Can anyone help???