cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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???

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

What happens if you try:

ReportEngine repEngine =

(ReportEngine)ceSession.getService("WebiReportEngine");

Sincerely,

Ted Ueda

Former Member
0 Kudos

These are the only things that show up when I call:

EnterpriseSession().getServiceNames("sales-demo", 0);

Batch

Diagnostics

InfoStore

Logon

NameService

OCAAdministrator

Pinger

PluginDistribution

Session

APSAdmin

AuditAdmin

ISGeneralAdmin

SSOAdmin

This is the whole error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/businessobjects/wp/dbg/DBGTraceable

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at com.businessobjects.rebean.wi.occa.WebiReportEngine.<init>(WebiReportEngine.java:66)

at com.businessobjects.rebean.wi.occa.WebiReportEngineFactory.makeOCCA(WebiReportEngineFactory.java:64)

at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source)

at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source)

at com.tidalsoft.adaptors.buisnessobjects.EnterpriseSession.getReportEngine(EnterpriseSession.java:72)

at com.tidalsoft.adaptors.buisnessobjects.BO.main(BO.java:28)

Former Member
0 Kudos

The WebiReportEngine service won't be one of the listed services.

You're now getting a different error.

The com.businessobjects.wp.dbg.DBGTraceable.class is in jtools.jar file, which you may not have in your app.

Sincerely,

Ted Ueda