Return invalid xml.

 

But, why would you want that?  Save the fault handler for exceptions you
cannot control, like network failure.

 

I wrap all of my data in a consistently formatted status node, that
contains any exception data I need on the client.  The result handlers
look at the status attribute and respond accordingly.  I return this
status node for all calls, and it is especially useful for calls that
update the back-end,but do not need to return any special data.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of max.bruchmann
Sent: Friday, July 04, 2008 9:25 AM
To: [email protected]
Subject: [flexcoders] How to trigger the faulthandler of a httpservice

 

Hi,
Is it possible to trigger the fault handler of httpservice from the
server. 
I'm using php on the backend and in case some database connection
error occurs I want to send this to the fault handler.
Is this possible or should I use the resulthandler with some if else
statement

thanks in advance
cheers
max

 

Reply via email to