[Rails] Action Web Service and XML RPC Faults

Scott Barron scott at elitists.net
Mon Feb 28 19:02:02 GMT 2005


All,

So, I'm playing around with migrating the metaweblog api stuff in Elite 
Journal to use AWS.  The included example was a good start, but now I'm 
trying to add authentication to it and running into some problems.

According to the MetaWeblog API:

     Applications should use the fault-response scheme defined[1] by
     XML-RPC. For example, trying to create, get, or edit a post without
     a valid username-password should generate a fault. Client
     applications should display the error string, as appropriate, to the
     user, for example, in a dialog, or in a server log.

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?

Thanks
-Scott


[1] http://www.xmlrpc.com/spec#faults
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://one.textdrive.com/pipermail/rails/attachments/20050228/9b274afa/signature.bin


More information about the Rails mailing list