Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPENED] RESTful Services - Report Caster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] RESTful Services - Report Caster
 Login/Join
 
Member
posted
All,
Within a fex I need to use RESTful web services to execute a Report Caster job. I need real examples of anyone setting up RESTful to connect to Report Caster. Is anyone doing this?

This message has been edited. Last edited by: <Kathryn Henning>,


7.6.8
UNIX
FOCUS,HTML,PDF,EXCEL.
 
Posts: 18 | Registered: September 29, 2010Report This Post
Master
posted Hide Post
Refer to below documentation to make RESTful call for executing RC Schedule.

http://infocenter.informationb...Fsource%2Fopener.htm

Goto Chapter 5(ReportCaster), then to Running a Schedule.

IBI missed to include &IBIRS_action=run along with the URL.

So here is the complete sample URL to run/execute RC schedules.

http://localhost: port-number/ibi_apps/rs/ibfs/WFC/
Repository/RESTful_Web_Services/Car_Reports/REST_Schedule.sch?IBIRS_action=run

Since you asked for sample working example.
At the end of your fex, add a HTMLFORM and then create a iframe. make visiblity of iframe to hidden/false.
Load the above URL within iframe using SRC attribute.

Also you can use AJAX/JQuery to achieve the same.


To IBI, Can you update the documentation to include IBIRS_action=run as mentioned above.

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Platinum Member
posted Hide Post
Hi,

As another alternative (if you are licensed for this) You can set up a rest adapter to your environment.

Then create 2 synonyms one for signon and one for runsched

You can then create a fex that TABLE FILES the REST Signon synonym (report caster wants this)
this validates the ID to be used to run the schedule you can then table your execute synonym and pass it the schedule you want to execute.

we have one fex that kicks off the process and then in the post process calls the fex with the rest calls in it. We pass in the variables for what needs to be ran. We have checks in and messages so if it fails at any point in the "flow" we know where.

Had planned to do a presentation on this at summit but got my paperwork in late Smiler

It's something that can be done and without using HTML.


Webfocus 8.0.7 on Windows
 
Posts: 176 | Location: Ohio | Registered: October 26, 2006Report This Post
Master
posted Hide Post
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Master
posted Hide Post
One other option is to use DSTRUN, this is old but reliable. We used that for years until migrating to WebFOCUS 8 and Keberos SSO. There is a bug that is keeping DSTRUN from working in our WebFOCUS 8 enviroment.

As a result, I now have a small MODIFY program that updates the Next Run Date/Time in the desire ReportCaster Schedule.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Platinum Member
posted Hide Post
Yeah we used dstrun until 8 and we went to HTTPS then we converted the dstrun items to use REST.

Crystal


Webfocus 8.0.7 on Windows
 
Posts: 176 | Location: Ohio | Registered: October 26, 2006Report This Post
Member
posted Hide Post
Can someone help us on configuring the REST adapter. We are not sure what to provide for
1. Service Description
2. Base URL
3. Security
-Sudhakar


7.7.03
Windows, All Outputs
 
Posts: 2 | Registered: June 05, 2013Report This Post
Platinum Member
posted Hide Post
At our site we used none for the service description. The base URL is the url to the client example - (https://wf.net/ibi_apps) and for security we selected none.

Crystal


Webfocus 8.0.7 on Windows
 
Posts: 176 | Location: Ohio | Registered: October 26, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPENED] RESTful Services - Report Caster

Copyright © 1996-2020 Information Builders