Focal Point
[CLOSED] Invoke WebFOCUS UI from Web application

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

November 17, 2010, 09:51 AM
BalaMurugan
[CLOSED] Invoke WebFOCUS UI from Web application
Im trying to invoke the WF html from a web application, but get the following error, any help on this?
(FOC227) THE FOCEXEC PROCEDURE CANNOT BE FOUND: mib_cus_o_003.htm

The URL that I have given in href tag is

http://webfadh.****.com/ibi_apps/WFServlet?IBIAPP_app=appname&IBIC_server=servername&IBIF_ex=mib_cus_o_003.htm

Thanks in advance

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
November 17, 2010, 10:14 AM
Francis Mariani
Not too sure why you would call an HTML file with a WebFOCUS call, but if the URL you posted is how you actually call it, then set IBIAPP_app to the App folder name that contains the file (and not "appname").


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 17, 2010, 11:44 AM
Tony A
Try a URL of the form http://webfadh.target.com/appr...me/mib_cus_o_003.htm

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 18, 2010, 01:38 AM
BalaMurugan
Thanks for the replies...

@Francis:
The requirement is to launch the reports UI from a Java application and hence I have to call the HTML. As mentioned I have already tested with the appname & servername replaced. But no gain!! I have previously made .fex calls using such URLs, but not sure if the same format holds good for HTML also.

@Tony:
By approot do u mean ibi_apps? if so i have tried that also but no change! If not is there any way that I can get to know what is my approot?


WebFOCUS 7.6
Windows, All Outputs
November 18, 2010, 02:55 AM
Tony A
No, I mean approot by approot.

However you will have to change the appname to the correct value, so if your app folder is baseapp then the URL would be -
http://webfadh.target.com/approot/baseapp/mib_cus_o_003.htm


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 18, 2010, 06:40 AM
BalaMurugan
Thanks Tony...

Im getting a HTTP 404, so does this mean that I need to deploy my WF HTML in a webserver or something? Are there any links/documents that I can go through to achieve this? Please help...


WebFOCUS 7.6
Windows, All Outputs
November 18, 2010, 10:19 AM
Kamesh
Yes. Your html should be in webserver.

Copy the html under your approot folder. For example,

Your approot is "apps" and create a folder for html called "html" and copy your html files then call that by using http://server/apps/html/yourfile.htm

Hope this helps,


WFConsultant

WF 8105M on Win7/Tomcat
November 18, 2010, 12:48 PM
Tony A
...or add a virtual directory in your web server, called approot, that points to the ibi\apps directory.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
November 19, 2010, 09:42 AM
Kamesh
Is this working now? Please let us know.


WFConsultant

WF 8105M on Win7/Tomcat