Focal Point
[SOLVED] WFServlet vs. run.bip

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

March 31, 2017, 11:37 AM
Hank W.
[SOLVED] WFServlet vs. run.bip
Hi,

OK, so there are two ways to call a WF procedure in version 8.1.05 now I might be just lucky these both work, but which call would be the "best practice" one? The scenario here is the WF is called from a bespoke java UI, and the SSO should handle any authentications. I might be missing session tokens as well, so any hints in what I am missing would be good.

/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps&IBIMR_drill=IBFS,RUNFEX,IBIF_ex,true&IBIF_ex=IBFS:/WFC/Repository/POC/spoof/spoof.fex&CALDATE=32032017&VAR1=bofh&VAR2=666


/ibi_apps/run.bip?BIP_REQUEST_TYPE=BIP_RUN&BIP_folder=IBFS:/WFC/Repository/POC/spoof&BIP_item=spoof.fex&CALDATE=32032017&VAR1=bofh&VAR2=666

There are also portals, Java UI calling WF html pages and then directly fexes, oh and RC schedules run off the portals as well as webservices... so a bit of a mixed bag and I'd prefer to make things as much streamlined as possible.

This message has been edited. Last edited by: FP Mod Chuck,


Cheers,
H.

WebFOCUS 8.1.05M
Oracle 11g - DB2
RedHat
April 02, 2017, 05:35 PM
Waz
From what I've seen, run.bip has always happened from a portal, and WFServlet from drills and calls from HTML composer.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

April 05, 2017, 11:21 AM
David Briars
quote:
...which call would be the "best practice" one?...

Back when we upgraded from 7.7.x to 8.0.x, Information Builders recommended that we begin to use the 'WebFOCUS RESTful Web Service' to run reports from our bespoke web applications, instead of WF servlet.

With WF RESTful, your servlet call example would look something like:
http://localhost:8080/ibi_apps/rs/ibfs/WFC/Repository/POC/spoof/spoof.fex?IBIRS_action=run&CALDATE=32032017&VAR1=bofh&VAR2=666

There is a IB manual on WF RESTful.

(I can send a Summit presentation on WF RESTful, if anyone would like to send me their email address via a PM. The presentation summarizes what is in the manual.)

Perhaps someone from IB will further comment on this topic?

This message has been edited. Last edited by: David Briars,




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
April 05, 2017, 01:19 PM
Hank W.
Thanks, I need to look into the webservices for RC scheduling... though now I ran that and it seems my report is 'restful' in a stuck "Loading" screen (the WFServlet works fine)... darn WebSphere... Frowner


Cheers,
H.

WebFOCUS 8.1.05M
Oracle 11g - DB2
RedHat