May 11, 2005, 03:18 PM
<Nathan>Calling webfocus reports with parameters from .NET
We can call reports from .NET using following
URL
http://servername/ibi_apps/WFServlet?IBIF_ex=reportname...rid&IBIC_pass=passwd How to form URL so the parameters are also
passed to the report invoked ?
.NET and Webfocus are on different IIS servers.
Thanks
May 11, 2005, 06:40 PM
<WFUser>Nathan,
A few things.
1- It doesn't matter that .net and WebFOCUS are on different servers as long as the URL can call the WebFOCUS servlet.
2- You obviously don't want to pass the user credentials in the URL. WebFOCUS can use a cookie or session variable.
3- Pass the report parameters the same way you are passing IBIC_user and IBIC_pass here. The application needs to collect the values and form the URL.
http://servername/ibi_apps/WFServlet?PARM1=value&PARM2=value etc....
4- WebFOCUS Web Services might be another option.
May 13, 2005, 10:54 PM
<Nathan>Thanks WFUSer
The URL ( with USerID / password ) works.
This what we are considering as options
1. Set Cookie if possible from .NET screen
on WebFocus server.
2. Use Web services
3. Keep Userid /passwd ( Encrypted ) in
common database which the Launching page
of webfocus will read. ( Session expiry
at database session level ).
Option 2 looks attractive due to flexibility
it offers, but not sure of development time
frame.