Focal Point
Invoke ReportCaster from a Java application

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7981081492

August 04, 2008, 05:27 AM
<Bhuvaneswari>
Invoke ReportCaster from a Java application
Hi,

I am new to ReportCaster.

We have a requirement in our project to get the list of reports executed by a user in the last 10 days.We are supposed to use ReportCaster for this purpose.

Can somebody advice how we can invoke ReportCaster from a java web-based application.Should it be done using Webfocus client?

-Bhuvana.
August 04, 2008, 08:08 AM
FrankDutch
Are you already able to create a report that gives you the executed reports per user?

If so, you can send that report by using reportcaster.

What is your main problem?

Creating the report or sending it with reportcaster?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

August 04, 2008, 08:46 AM
<Bhuvaneswari>
My intention is to query and get the list of Reports from ReportCaster and display them in a web based application.
August 04, 2008, 11:00 AM
FrankDutch
Is this more or less the same issue as posted with "Use Report Caster to get the history of reports"

search on this forum on BOTLOG




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

August 04, 2008, 11:49 AM
Darin Lee
quote:
We have a requirement in our project to get the list of reports executed by a user in the last 10 days.


My main question would be What is the intended content of this report? Using the BOTLOGs will only give you the list of reports that have been executed through Report Caster. It will NOT give you a list of all reports executed by a user. You will need Resource Analyzer to get that information or use some other customized technique.

Once you have figured out where to get the list you need, you can just execute a URL with a WF servlet call from your java application that will send the report back to the user. Either way, the actual ReportCaster application does NOT appear to be part of what you really need. If you really do only want a list of jobs executed through RC, then those files can be accessed using regular WF and RC does not need to be invoked.

As for invoking ReportCaster from a java environment, there is a complete manual called Report Caster API Developer's Reference that you should refer to for this info. If you are new to RC the manuals (or perhaps a training course) are the first place you should be looking. Do a little homework and then we can help you out a little better.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat