simon.martinelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-13 13:39 UTC
ActionWebService and ActiveRecord
Hi, I created a Rails application using ActiveRecords. Now I like to create a Webservice for getting some data from rails. I have a Wettkampfserie that has_many Wettkampf. When I now define an API like this: api_method :get_wettkampfserie, :expects => [:int], :returns => [Wettkampfserie] It generates a WSDL with only the Wettkampfserie and without the has_many Wettkampf. How do I tell ActionWebService that It should also create WSDL for the has_many assosications? Thanks a lot. Regards, Simon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
simon.martinelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-20 13:50 UTC
Re: ActionWebService and ActiveRecord
Am I the only one with this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---