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     [CLOSED] How to call a java servlet from Reporting Server

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to call a java servlet from Reporting Server
 Login/Join
 
Silver Member
posted
Greetings from Sweden.
How can we call a Servlet on another machine from Dialog Manager in Reporting Server?
If we call the Servlet, how can we receive the answer set?

Background:
We have a custom fuselib routine working that is calling Tuxedo to get authorization information for the current user. Now, the volume returned is too much to receive in an alpha variable. It also relies on environment variables which is not very flexible.

We also have a standard servlet already that we consider calling instead of maintaining this fuselib code.

Best regards,
Mats

WebFOCUS Windows 76 going to 7.7 soon
Multi server setup with Client on one machine and reporting server on another.

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


Mats Sundelin
Cybernetics Business Solutions AB
 
Posts: 31 | Location: Stockholm, sweden | Registered: January 19, 2005Report This Post
Virtuoso
posted Hide Post
Mats

I have called a Java servlet this way.
-DEFAULT &V1=Testing;
-DEFAULT &V2=Java;
SQL EDA EX javafex P1='&V1.EVAL', P2='&V2.EVAL';
TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS MYDATA
END
TABLE FILE MYDATA
PRINT *
END
where javafex is:
SET EXORDER=PGM/FEX
CALLJAVA jva.test.TEST &P1, &P2


Is this the sort of thing you are looking for?


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Guru
posted Hide Post
This Link be helpful to you...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Guru
posted Hide Post
The other way is, you can write a Wrapper Servlet which extends WFServlet as well as the Servelt which you want to call on, and do the required things in Java side itself... Calling on to WFServlet with reqd params will fetch you the resultset there itself...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Silver Member
posted Hide Post
Hi Alan and Ramkumar.
Thank you for hints.
Alan's suggestion is like i was thinking.
Do i understand correctly that the java.test.TEST program would just type the data and the SQL EDA EX would map it (using SQLOUT)?

I would like to avoid using any chargeable option though. I don't think we will buy an additional adapter for this.
I will discuss this with java people.
Regards, Magts


Mats Sundelin
Cybernetics Business Solutions AB
 
Posts: 31 | Location: Stockholm, sweden | Registered: January 19, 2005Report 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     [CLOSED] How to call a java servlet from Reporting Server

Copyright © 1996-2020 Information Builders