Re: [Flashcoders] catching errors by webservice : solution

2006-07-27 Thread PR Durand
I finally found the solution... thanks to google and forums: flash is not 100% soap compatible !!! the 1.1 SOAP standard turns the exceptions in 500 header error, wich causes a lost of the connection in flash, instead of reading the faultString. here's the link to Adobe's technote

Re: [Flashcoders] catching errors by webservice

2006-07-26 Thread PR Durand
Hi Hans, Yes it does, everythings works well, but the exceptions. It's a C# .net simple webservice (input: an Int id, output : a personal class object) We tryied yesterday in the evening with a C# coder. His code has a throw new SOAPException(entry not found) we made a local WS client in C#

[Flashcoders] catching errors by webservice

2006-07-25 Thread PR Durand
Hi List Has anyone any way to receive the exceptions thrown by a webservice server please? as it's asynchronous, the classical try...catch can't work on the service method call. but, as soon as the server throws an exception (the sent SOAP is a correct fault soap file if I call it from a

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread Josh Santangelo
Check out the WebServiceConnector.status event. -josh On Jul 25, 2006, at 8:12a, PR Durand wrote: Hi List Has anyone any way to receive the exceptions thrown by a webservice server please? as it's asynchronous, the classical try...catch can't work on the service method call. but, as

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread PR Durand
thanks a lot, josh, I'll look at this. but I was using the webservice and pendingcall classes. Is there a way with it or do I have to use the connector component? thx PiR Josh Santangelo a écrit : Check out the WebServiceConnector.status event. -josh On Jul 25, 2006, at 8:12a, PR Durand

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread PR Durand
I changed everything to work with the connector instead of the service class : same result If I right understood, an exception thrown with server should give me a faultcode=Server and faultstring=[the exception message], isn't it? here I got once more a Server.connection faultcode, with the

Re: [Flashcoders] catching errors by webservice

2006-07-25 Thread Hans Wichman
Hi, just to be clear on this, PendingCall.onFault is not working for you? greetz hans On 7/25/06, PR Durand [EMAIL PROTECTED] wrote: I changed everything to work with the connector instead of the service class : same result If I right understood, an exception thrown with server should give