Hello,
I am using the Java SDK to connect to a BO XO Release 2 CMS.
Basically, I can login and list reports but my issue arrives when I try to start the ReportEngine.
If I run this code in a JSP on the same server as BO it works fine.
But if I run the same code from another server I can successfully login to BO, get a list of reports, but when I try to call the ReportEngine for Webi I get the error message : ‘ReportEngines’ not found.
I have already read through the SDK documentation and my code is straight from their sample code :
String test = "reportEngine session id =";
IEnterpriseSession oEnterpriseSession = CrystalEnterprise.getSessionMgr().logon("USERNAME", "PASSWORD", "OUR.URL","secEnterprise");
if (oEnterpriseSession != null )
{
IInfoStore oInfoStore = (IInfoStore) oEnterpriseSession.getService("InfoStore");
ReportEngines repEngines = (ReportEngines) oEnterpriseSession.getService("ReportEngines");
ReportEngine reportEngine = (ReportEngine) repEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
test += reportEngine.getSessionID();
}
Like I said, this work fine when I run it from the same server BO is installed on so I keep thinking it is a server configuration issue?
Thanks in advance.
melchior (BOB member since 2010-04-30)