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     [SOLVED] calling a fexprocedure from jsp

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] calling a fexprocedure from jsp
 Login/Join
 
Member
posted
hi.

we tried the following code to call a fexprocedure.

quote:
out.println(fileName+" was successfully uploaded as "+ newFileName+FileExt +".

");
//URL hp = new URL("https://someurl.somedoamin.com:myport/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps&IBIC_server=EDASERVE&IBIWF_msgviewer=OFF&&IBIMR_drill=X,blablabla/blablabla.htm&IBIF_ex=app/create_user_hold");
URLConnection hpCon = hp.openConnection();
connection.setDoOutput(true) ;


with math.random() at the end of the urlstring and without.

Unfortunately we are getting HTML500 Error and the trace is not realy explaining what the error/soloution might be.

With out the urlcall the jsp is continuing correctly.

Has anyone an idea?

TIA
Marcus

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


-----------------------------
PROD WF 7.7.02, PMF 5.2.3, MSQL 2005
QA WF 7.7.02, PMF 5.2.3, MSQL 2005
Primarily self-service; adapters: SAP BW, SAP R/3, SQL Server, FlexEnable
Windows, all output
 
Posts: 22 | Location: Germany | Registered: December 17, 2009Report This Post
Gold member
posted Hide Post
Hi,

I have not tried to launch a WF report / page with JSP yet, but I would try to url-escape the strings after ?var=name you mentioned.

e.g.

 IBIF_ex=app/create_user_hold 


should read

 IBIF_ex=app%2Fcreate_user_hold 


Maybe this will help

Cheers Linne


WebFOCUS 7.7.03
 
Posts: 67 | Registered: January 05, 2011Report This Post
Expert
posted Hide Post
If this is MRE, you need to login first.

Can you run the URL in a browser ?


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
In your URL you are giving MRE and EDASERVE attributes.Don't mix both.

If you are trying to access the fex procedure from EDASERVE then use below URL's

/ibi_apps/WFServlet?IBIC_server=EDASERVE&IBIF_webapp=/ibi_apps&IBIAPP_app=application_name&IBIF_ex=fexprocedure_name

if you want to access procedure from MRE then use below

/ibi_apps/WFServlet?IBIMR_action=MR_RUN_FEX&IBIMR_sub_action=MR_STD_REPORT&IBIMR_fex=fexprocedure_name&IBIMR_folder=foler_name&IBIMR_domain=domain_name


Web FOCUS 7.7.03
PDF
 
Posts: 69 | Registered: May 24, 2013Report This Post
Member
posted Hide Post
thx guys for your help. It helped to use the response command from the jsp

response.sendRedirect("https://somedomain.com:myport/ibi_apps/WFServlet?IBIF_webapp=%2Fibi_apps&IBIC_server=EDASERVE&IBIWF_msgviewer=OFF&IBIMR_folder=%23standardm1ta&IBIMR_drill=X,blablabla%2Fblablabla.htm&IBIF_ex=app%2Ferstelle_user_hold.fex");


-----------------------------
PROD WF 7.7.02, PMF 5.2.3, MSQL 2005
QA WF 7.7.02, PMF 5.2.3, MSQL 2005
Primarily self-service; adapters: SAP BW, SAP R/3, SQL Server, FlexEnable
Windows, all output
 
Posts: 22 | Location: Germany | Registered: December 17, 2009Report 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     [SOLVED] calling a fexprocedure from jsp

Copyright © 1996-2020 Information Builders