beckmann.nils-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Feb-21 16:51 UTC
Exceptions in Response (ActionWebservice)
Hello, i have build an ActionWebservice which returns a string. But if it get an exception in the controller i want to throw an exception. In java it is a soapfault. But if I return in the controller an Exception.new(message) i only get thte message as the return string. NO soapfault. How can i get an soapfault? I hope someone can help me. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, Sounds like you wanted to post this to the general Ruby on Rails google group... Best, Thomas Am 21.02.2007 um 17:51 schrieb beckmann.nils-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org:> > Hello, > > i have build an ActionWebservice which returns a string. But if it get > an exception in the controller i want to throw an exception. In java > it is a soapfault. But if I return in the controller an > Exception.new(message) i only get thte message as the return string. > NO soapfault. How can i get an soapfault? > > I hope someone can help me. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---