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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
.NET application
 Login/Join
 
Silver Member
posted
I have been writing procedures and reports in Developer's studio for a few months now. I am able to use Managed Reporting to allow users to look at these reports, but we now have a .Net application that I want to use WebFocus reports with. I have written the report in my application area, my developer says if I can give him a URL, he can do a GET to pass the parameters. When I run the .fex the only uRL I see is http://SERVER/ibi_apps/WFServlet. Is there something special I need to do to Publish these .fex's for his application?
 
Posts: 45 | Registered: March 18, 2005Report This Post
Guru
posted Hide Post
Here is a simple page that will call a fex in the MRE.<br />
<HTML>
<HEAD><br /></HEAD>
<FORM name='form1' action='http://servername/ibi_apps/WFServlet' method='post'>
<TABLE> <tr><td>Click submit to produce report</td></tr>
<input type='hidden' name='IBIMR_domain'     value="xxxxxxxxx/xxxxxxxx.htm">
<input type='hidden' name='IBIMR_action'     value="MR_RUN_FEX">
<input type='hidden' name='IBIMR_sub_action' value="MR_STD_REPORT">
<input type='hidden' name='IBIMR_fex'        value="app/xxxxxxxx.fex">
<input type='hidden' name='IBIF_ex'          value="app/xxxxxxxx.fex">
<input type='hidden' name='IBIMR_drill'      value="RUNNID">
<input type='hidden' name='IBIMR_folder'     value="#xxxxxxxxxxxx">
<input type='hidden' name='IBIMR_defer'      value="">
<input type='hidden' name='IBIMR_random'
 value=''>
<script>
document.form1.IBIMR_random.value = Math.random();
</script>
<tr><td><INPUT TYPE='submit' NAME='Submit' VALUE='Submit'>
</td>
</tr>
<tr><td><INPUT TYPE='RESET' NAME='reset' VALUE='Reset'></td></tr>
</TABLE>
</FORM>
</BODY><br /></HTML>

This message has been edited. Last edited by: <Mabel>,
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Silver Member
posted Hide Post
So I should create these fex's within MRE? I was told I should do it under the application area on my EDASERV
 
Posts: 45 | Registered: March 18, 2005Report This Post
Member
posted Hide Post
This URL should execute a fex in the Data Server/Applications area.

http://servername/cgi-bin/ibi_cgi/webapi.dll?IBIC_serve...name&IBIF_ex=fexname
 
Posts: 1 | Registered: July 20, 2005Report This Post
Silver Member
posted Hide Post
I seem to be getting somewhere and have made some real headway thanks to all of your for you help.

I've finally figured out that I can put in
http://server/ibi_apps/WFServlet?IBIF_ex=nameoffex&IBIC...r&IBIC_pass=password

This brings up my page where I am prompted for my two date parameters. Is there someway that I can enter that in the original URL?
 
Posts: 45 | Registered: March 18, 2005Report This Post
Expert
posted Hide Post
Ginny,

Just add them as further parameters in the URL -

http://server/ibi_apps/WFServlet?IBIF_ex=nameoffex&IBIC...11&Date_2=2005/07/25 ....... etc.
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Master
posted Hide Post
WebFOCUS WebServices in 7.1 allows for .NET intergration via WebServices and .NET controls. This is a Add-on to WebFOCUS and will make .NET intergration much much easier.
 
Posts: 865 | Registered: May 24, 2004Report This Post
<DocServices>
posted
Hi Ginny,

For more information, see the WebFOCUS Web Services Version 7.1 manual (DN4500715.0505).

I hope this helps.

Regards,
Jennifer
 
Report This Post
Member
posted Hide Post
Hi
I am in the process of coding a .NET C# application. It is a Windows application.
Can I invoke a WebFocus report from it.
When it encounters the code that tries to logon to WebFocus I am getting this error message

"Client found response content type of 'text/html; "
The code is as follows

WebReference.WebFocus wfs = new WebReference.WebFocus();
WebReference.LogOnInfo logon = new WebReference.LogOnInfo();
WebReference.WebFocusReturn ret = new WindowsApplication2.WebReference.WebFocusReturn();
WebReference.FexInfo report = new WindowsApplication2.WebReference.FexInfo();
WebReference.ValuesArrayEntry parm1 = new WindowsApplication2.WebReference.ValuesArrayEntry();

string newOutput = "";
string tempFile = "";

string[] parms = new string[2];

parm1.name = "CASETYPE";
parm1.val = "EXTERNAL";

try
{
report.server = "EDASERVE";
report.app = "ic001w03_cases15daysold";
report.name = "ic001w03_cases15daysold";


logon = wfs.WebFocusLogOn("a76243","ramesh21","","");
ret = wfs.WebFocusRunFex(logon, report);

newOutput = ret.output;

if (ret.mime == "application/vnd.ms-excel" )
tempFile = "c:\\temp\\cases_out.xls";
else
tempFile = "c:\\temp\\cases_out.pdf";


wfs.WebFocusRunFex(logon,report);
}
catch (Exception ex)
{
System.Diagnostics.Debug.Write(ex.ToString());
throw ex;
}

Any help will be appreciated


rs
 
Posts: 11 | Location: Raleigh, North Carolina | Registered: November 21, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders