Joel Grandin
2006-Aug-07 18:14 UTC
[Rails] ActionWebService: associations unavailable in SOAP response
I have create a web service to expose data from my application and am wondering why the associations are not showing up as values in my WSDL or SOAP response. In active record I have enabled eager loading so that the object set as the return type for the service call has all the associated data prior to the response. However, the associations are not showing up. Anyone have any ideas? I can inspect the object and see that it has all the values. to_xml on the active record object gives the desired XML structure I would expect in the SOAP response. All other values are being returned correctly. Any Ideas? -- Posted via http://www.ruby-forum.com/.
Kent Sibilev
2006-Aug-07 20:02 UTC
[Rails] ActionWebService: associations unavailable in SOAP response
Unfortunately, AWS doesn''t support it out of the box. On 8/7/06, Joel Grandin <jgrandin@mathworks.com> wrote:> I have create a web service to expose data from my application and am > wondering why the associations are not showing up as values in my WSDL > or SOAP response. > > In active record I have enabled eager loading so that the object set as > the return type for the service call has all the associated data prior > to the response. However, the associations are not showing up. Anyone > have any ideas? > > I can inspect the object and see that it has all the values. to_xml on > the active record object gives the desired XML structure I would expect > in the SOAP response. > > All other values are being returned correctly. Any Ideas? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Kent --- http://www.datanoise.com