Soapfaults in ActionWebService

Hey,

Does anyone know of a way to throw soapexceptions/soapfaults from an
actionwebservice on rails ?

I thought the correct way to do this would be returning an Exception,
but that will throw a cast error (due to not being the correct return
type for the given function).

Can anyone enlighten me?

Tiago Macedo

I’m working on the same thing. It’s quite annoying as I get nil object errors instead of some sort of exception message when anything fails. Now I’ve only tried with an AWS server and soap4r client; I should give other language clients a go.

I’ll post if I find something out or find a fix.

Jason