DON'T USE THIS! (unless necessary for enterprisey / legacy)

Story: Create Web services with Ruby on Rails and Action Web ServiceTotal Replies: 0
Author Content
remi

Nov 06, 2008
3:14 AM EDT
This article is 100% unconventional. This is ***NOT*** the way modern web services are implemented with Ruby on Rails.

Conventionally, to write a web service in Ruby on Rails (as well as many other frameworks), modern web developers now use REST APIs. We don't use SOAP/WSDL anymore. Infact, this article mentions that the library used no longer comes with Rails! The author has to manually install it, because it's no longer supported by Rails!

This is a great article little article if you want to get a start learning how to consume legacy / enterprisey SOAP/WSDL types of web services or if you really, really *need* to implement an old-style web service for some reason.

This is ***NOT*** how modern web service APIs are created and, if you want to create a modern conventional web service, you should NOT read this - it's very out-of-date.

In Rails, specifically, modern web services are created merely by following RESTful conventions and they are consumed using ActiveResource.

Posting in this forum is limited to members of the group: [ForumMods, SITEADMINS, MEMBERS.]

Becoming a member of LXer is easy and free. Join Us!