0 Replies Latest reply on Nov 10, 2008 9:37 AM by mother_of_all_webs

    fxstruts and xml example needed


      I'm using fxstruts to bridge to a new flex app. I am using secure http and am using the HTTPService request on the client. The request goes through successfully (i.e. a logon). Once that succeeds on the server I forward to a page which returns some very basic user information (name, etc):

      <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1" import="com.myCompany.actions.HomePageForm"%>
      <%@ taglib uri="/WEB-INF/lib/fxstruts-0.2.jar" prefix="fx" %>
      <jsp:useBean id="userInfo" class="com.myCompany.actions.HomePageForm"></jsp:useBean>
      <fx:write name="userInfo" type="xml" />

      From stepping via a debugger this fxstruts code is definitely being hit. The appropriate attribute, "userInfo" is indeed in the request attributes. I've modeled this example after the AMF examples provided. However, the client always returns to the fault handler on the client with the following error:

      Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://localhost:9444/fieldsales/web/j_security_check"]. URL: https://localhost:9444/fieldsales/web/j_security_check

      As more detail regarding my environment, I'm running FlexBuilder 3.0 standalone pointing to an IBM RAD 7.5 localhost environment. Everything seems to go well: the logon, the forward to the fxstruts jsp but the flex client always seems to get this error. Thanks for any help.