Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Issues with WFServlet and WF_signon in WebFOCUS 8
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Issues with WFServlet and WF_signon in WebFOCUS 8
 Login/Join
 
Member
posted
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>,
 
Posts: 21 | Registered: July 17, 2007Reply With QuoteReport This Post
<Kathryn Henning>
posted
Hi All,

Tim has a case open with Support for this issue, and it is being researched.

Cheers!

Kathryn
 
Reply With QuoteReport This Post
Member
posted Hide Post
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:

ibi_apps.xml
uriworkermap.properties
 
Posts: 21 | Registered: July 17, 2007Reply With QuoteReport This Post
Member
posted Hide Post
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:

 

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<script language="javascript">
<!--
function submit_form() {
document.frmTheSource.submit();
}
//-->
</script>
</head>
<body onload="submit_form()">
<form name="frmTheSource" action=http://webfocusprod03.transamerica.com/ibi_apps/WFServlet method="POST">
<input type="hidden" name="IBIWF_action" value="WF_SIGNON">
<input type="hidden" name="IBIC_user" value="<%=Application("WF_USER")%>">
<input type="hidden" name="IBIC_pass" value="<%=Application("WF_PASS")%>">
<input type="hidden" name="WF_SIGNON_MESSAGE" value="http://thesourcedev/test.htm">
</form>
</body>
</html>

 
Posts: 21 | Registered: July 17, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
Don't you need quotes around your action URL?


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
 
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012Reply With QuoteReport This Post
Expert
posted Hide Post
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?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5604 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Member
posted Hide Post
quote:
Originally posted by J:
Don't you need quotes around your action URL?

Thanks for your reply, with or without quotes get the same results.
 
Posts: 21 | Registered: July 17, 2007Reply With QuoteReport This Post
Member
posted Hide Post
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" /> 
 
Posts: 2 | Registered: June 06, 2008Reply With QuoteReport This Post
Member
posted Hide Post
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.
 
Posts: 21 | Registered: July 17, 2007Reply With QuoteReport This Post
Member
posted Hide Post
OK, problem solved. Apparently in version 8 you are required to specify the .ibfs file extension as follows:

http://servername/ibi_apps/WFServlet.ibfs

instead of

http://servername/ibi_apps/WFServlet

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.
 
Posts: 21 | Registered: July 17, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Issues with WFServlet and WF_signon in WebFOCUS 8

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.