2 Replies Latest reply on Mar 8, 2010 3:02 AM by flexdevke

    Flex vs SoapFault vs Citrix

    flexdevke

      Dear all,

       

      I developed a Flex application that is calling a webservice in the backend. The webservice has several methods that return results. One method throws an exception. (the webservice is developed in J2EE5.

      The application can be called via Citrix.

       

      The problem I have is the following. The application seems to run fine everywhere, except, when i run it through citrix, i get the following exception instead of the SOAPFault:

      Fault class: mx.rpc::Fault

      Fault: [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://host:port/sapws/cpl.e2.jnj.com/ear%7Edummy_cpl.e2.jnj.com%7Eejb%7Edummy_EJB_Transac tionPoC/TransactionPoC/TransactionPoC"]

       

      What I'm expecting is this:

      Fault class: mx.rpc.soap::SOAPFault

      Fault: SOAPFault (Server): Transaction Rollbacked! <ns2:MyApplicationException xmlns:ns2="http://jnj.com/e2/cpl/dummy/ws/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

        <message>Transaction Rollbacked!</message>

      </ns2:MyApplicationException>

       

      I've read about it on the internet and went through the forums here, and the Error #2032 seems to be a generic error that was the result of the 500 code in the http result. This should be resolved with Flex 3 and Flashplayer 10.

       

      Is there any reason why it seems to work everywhere ( locally, via IE browser, via IE browser on citrix server itself), but not when i open the application via citrix farm ?

       

      Kind regards,

      J.