RE: [flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Tracy Spratt
hoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Monday, April 28, 2008 3:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how do you return an XML fault from HTTPService? Thank you... would you also have an example on how i can reuse defaultResult on a loop so each X

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
quest.lastResult.serverResponse.errorText);"> > > > > > > > > > > > > in my action script i did > > > > > > > > function defaultResult(MYPARAM){ > > > > > > > > mx.controls.Alert.show(MYPARAM) > > > > etc. > > > > } > > > >

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread caffeinewabbit
; --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > > > > > > > Ah, no. In fact you might avoid using faults because the > browser does > > > > not pass the flash player any detail about the fault. > > > > > > > > >

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
> not pass the flash player any detail about the fault. > > > > > > > > > > > > Do not bind directly to last result. Use a result handler, and in > that > > > handler, inspect your result and decide how to handle it. > > > > > >

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
tail about the fault. > > > > > > > > Do not bind directly to last result. Use a result handler, and in that > > handler, inspect your result and decide how to handle it. > > > > > > > > Tracy > > > > > > > > ____ >

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Jason B > Sent: Monday, April 28, 2008 11:57 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: how do you return an XML fault from > HTTPService? > > > > ok maybe i missed

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread caffeinewabbit
gt; > > > Have your data leave off a closing tag. > > > > Tracy > > > > > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Jason B > > Sent: Monday, April 2

RE: [flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Monday, April 28, 2008 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how do you return an XML fault from HTTPService? ok maybe i missed something? i now know this can trigger a

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
n > Behalf Of Jason B > Sent: Monday, April 28, 2008 11:19 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: how do you return an XML fault from > HTTPService? > > > > sorry but im not using Soap im just using HTTPService and on php side > returning

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread valdhor
Sorry - Early Monday morning. I read Web Service when in actuality it was HTTPService. AFAIK there is no prescribed way of generating a fault. In the past I have created faults by accident. Things like forgetting the return statement so that the Flex request times out; Or returning improperly form

RE: [flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Tracy Spratt
Have your data leave off a closing tag. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Monday, April 28, 2008 11:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how do you return an XML fault from

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
sorry but im not using Soap im just using HTTPService and on php side returning my own made xml data as the book instructs? yea i do need to test this to verify how a fault will look in flex? How is this not a flex question? --- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote:

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread valdhor
Not really a Flex question but what are you trying to do? Is this just for testing purposes to see what your Flex app will do with a SoapFault? If so, the easiest way is to invoke a method that does not exist. --- In flexcoders@yahoogroups.com, "Jason B" <[EMAIL PROTECTED]> wrote: > > how do you