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">
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 ?
It seems that the problem has nothing to do with Citrix, but something with authorizations on OS level.
Users that receive the generic fault have less authorizations than the users that receive the specific exception we throw in our code, but it's far from obvious which privileges are exactly missing.
Another observation is that User A gets the specific soapfault on an XP system, but the generic fault on a Vista system.
Not really answered.
I think it has to do something with the bug mentioned here: http://bugs.adobe.com/jira/browse/SDK-11841
Maybe it has something to do with FlashPlayer/IE6.0 version/UserRights combination.