On Sat, Jan 26, 2008 at 03:31:07PM +1300, Josh Kalderimis wrote:
> Hi Emil,
>
> I am sorry, I have sent so many email, won't be long until I am banned.
>
> I am encountering the same problem as Henrik was experiencing in December 07.
> I
> am using Flex Builder 2 with the Flex 2 SDK on a Mac. This was only downloaded
> recently and thus I have the most recent builds for the Mac.
>
> I initially ran into the same problem as Tamas was having in Sep 07 (Bug
> 0002024 - InvokeFailed) but once I updated my version of Hessian to the snap
> one this was fixed, although I still encounter IResponder.fault always being
> called. Was there any progress as to why this is happening?
I'll have to look into it, but in now you can avoid the whole thing by
using the Flash-only Hessian that I just put up.
> Also, in regards to me previous email about IOErrorEvents (this was based on
> Hessian 3.1.2), I notice that in the snap version this has been kinda of
> fixed.
> On line 137 you have managed the IOErrorEvent by registering an error handler
> which just prints a trace statement.
>
> stream.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
> /** @private */
> public function handleIOError(event:IOErrorEvent):void
> {
> trace(event);
> }
>
> But could I suggest that instead of just ignoring the error, maybe it would be
> better to register a default io error handler upon instantiation of the
> HessianOperation class eg.
> this.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
> then handle the IOErrorEvent in the stream object by passing in the
> HessianOperation event dispatcher eg.
> stream.addEventListener(IOErrorEvent.IO_ERROR, dispatchEvent);
> this would allow for default handling of the event (trace statement) but also
> allowing a user to handling the event in a custom manner.
I just caught that when I was writing the Flash-only Hessian, so it
should work if you use that proxy. I have to go back and fix it in
HessianOperation and will post a new snapshot for that by tonight,
though it shouldn't affect you if you switch to the Flash-only stuff.
Emil
============================================================
Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]
Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Hessian Web Services
_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest