I have a website that allows the user to run reports after a successful authentication using the following form:
form name="frmAuthenticate" action="http://webfocusservername/ibi_apps/WFServlet">
input type="hidden" name="IBIWF_action" value="WF_SIGNON"/>
input type="hidden" name="IBIC_user" value="xxxxxxxx"/>
input type="hidden" name="IBIC_pass" value="xxxxxxxx"/>
input name="Submit1" type="submit" value="Authenticate" />
Currently this works fine on my WebFOCUS 7.7 server. But when I change the URL to my WebFOCUS 8 server I get the following message at the bottom of the browser:
"Do you want to open or save WFServlet (334 KB) from webfocusservername? Open Save Cancel"
The 7.7 server is on Win2003, the v8 server is on Win2008, both using IIS/Tomcat.
Both servers use LDAP authentication and it works correctly on the v8 server.This message has been edited. Last edited by: <Kathryn Henning>,
Tim has a case open with Support for this issue, and it is being researched.
Support did not help and they closed the case.
This is a new installation of 8006.
I believe this is an IIS/Tomcat configuration issue. Requesting anything with a URL beginning http://localhost:8080/ibi_apps results in a message as follows:
Do you want to Save or Open?
The same URL works fine on an existing 8006 server.
I've checked the following and appear to be the same on both servers:
We solved part of this problem. Our server support team had hijacked port 8080 to do some troubleshooting and had not yet reversed their changes. However, the following problem still exists:
When I use a form (in asp or aspx) to perform a WF_SIGNON I get the following error:
405 - HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
This code works on other WIN2008/WebFOCUS v8 servers:
Don't you need quotes around your action URL?
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
You would normally get this because the web server is not set-up to allow POST or GET methods - not WebFOCUS but IIS or Websphere etc.
If your server support team hijacked port 8080 then what else have they done?
Thanks for your reply, with or without quotes get the same results.
I have a similar page and am getting a similar response. Here is what I get back:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <ibfsrpc _jt="IBFSResponseObject" language="EN" name="WF_SIGNON" returncode="99" returndesc="Authentication failure: Userid or Password is incorrect" subreturncode="0" subsystem="" type="simple" />
Mcatala, thanks for your reply, my results are identical to the response you posted above. I have an SE scheduled to be onsite 8/11/2014. I will repost if we get anywhere.
OK, problem solved. Apparently in version 8 you are required to specify the .ibfs file extension as follows:
We found that the /ibi_html/wfsignon.html page worked. I dug through the code and found the ibigblgetCgiPath() function returns "/ibi_apps/WFServlet.ibfs" so I modified my .asp code with the .ibfs extension and it works now.
It looks like WFServlet without the extension only works pre-v8.
|Powered by Social Strata|