I think to deploy the server side of a RESTful web service, the built-in support in rails is pretty good. Support for building the client side (ie. consuming a web service) is still not great. You can try using activeResource which promises a similar model as activeRecord but with a web service instead of a database as the back end. Unfortunately, in my experience AResource (as of 3.0.9) falls short of delivering on this promise so I have been writing my models on top of HTTP/S.

I would love to hear back what other people are using to implementing a consumer of a RESTful web service.

Adrian


On 1/24/2012 3:56 AM, honey ruby wrote:
hey everyone can any one help me writing web services.i need web
services in in my project.  i know purpose of the web services but i
have no idea how to write the web services. i refer few site but none
of the sites gave a clear information. do i need any gems for web
services how do i get the xml output.


Thanks in advance


--
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to