How can I cause a FaultEvent on a remote objects call on purpose? I just want to test my handlers.
I had posted this in the flashbuilder forum (as I am using it), but realized this may be pretty general, and posted it here as this forum is probably much more active.
Did you try putting a syntax error inside the method being called? Or maybe if the method has a required argument, don't pass the argument.
In the response, you can override and set the HTTP header, Response to other than status code 200. This will hit your fault handler. There are multiple ways though, if you refer to incorrect URL/file it should hit your fault handler. http://www.judahfrangipane.com/blog/?p=87 can give you some hints on how others are recieving faults.