[Rails] Action Web Service and XML RPC Faults
leon breedt
bitserf at gmail.com
Mon Feb 28 20:58:57 GMT 2005
On Mon, 28 Feb 2005 14:02:02 -0500, Scott Barron <scott at elitists.net> wrote:
> So I'm trying every concievable way to attempt to return this fault
> object, without success. Just about every thing I do just throws up a
> 500. What am I missing here? Has anyone written anything with AWS yet?
> I'm using both 0.5.0 and HEAD and I just can't make it go (with
> authentication, without is no problem). Any clues?
Hi,
This will not work in 0.5.0 without the patch at
http://dev.rubyonrails.com/changeset/798, but the correct way to do
this is to throw an exception in your API method.
Exceptions are marshalled back to the caller as XML-RPC fault messages.
This should definitely work in HEAD.
Leon
More information about the Rails
mailing list