Advanced

Create Web services with Ruby on Rails and Action Web Service

Posted by jmalasko on · 1 comment
IBM/developerWorks; By Deepak Vohra
Mail this story
Print this story

In this article, discover how the Action Web Service module implements Web services functionality in Ruby on Rails. Action Web Service creates server-side support for SOAP and XML-RPC Web service protocols. You can declare and publish APIs using Action Web Service.

In this article, discover how the Action Web Service module implements Web services functionality in Ruby on Rails. Action Web Service creates server-side support for SOAP and XML-RPC Web service protocols. You can declare and publish APIs using Action Web Service.

Full Story

  Nav
» Read more about: Story Type: News Story

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (1)

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.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post