# Webservices in Rails

**URL:** <https://www.ruby-forum.com/t/webservices-in-rails/92928>\
**Category:** Rails\
**Created:** [April 25, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/webservices-in-rails/92928 "2007-04-25T19:53:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshussain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e9c0ed/32.png) [@pshussain](https://www.ruby-forum.com/u/pshussain)\
**Post date:** [April 25, 2007, 7:53pm UTC](https://www.ruby-forum.com/t/webservices-in-rails/92928/1 "2007-04-25T19:53:03Z")

</div>

Hi Dude

I need to know ,how to write WebServices in RoR  
If anybody knows that kindly tell me the solution  
I need to write the webservices for my project  
ok  
bye  
By  
P.S.Hussain

---

<div class="post-metadata">

**Author:** ![pshussain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e9c0ed/32.png) [@pshussain](https://www.ruby-forum.com/u/pshussain)\
**Post date:** [April 25, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/webservices-in-rails/92928/2 "2007-04-25T19:59:46Z")

</div>

On 25 Apr 2007, at 13:53, Mohamed H. wrote:

> I need to know ,how to write WebServices in RoR If anybody knows  
> that kindly tell me the solution I need to write the webservices  
> for my project

How to write web services will depend on what you want your services  
to offer, and what clients you need to support. The easiest way to  
provide web services in Rails is to make use of Rails 1.2’s RESTful  
features to provide a REST interface to your application. A good  
introduction to that can be found at:

[http://www.softiesonrails.com/2007/3/28/rest-101-part-1-understanding-](http://www.softiesonrails.com/2007/3/28/rest-101-part-1-understanding-)  
resources

If you’re wanting to provide a SOAP interface, you’ll want to look  
into ActionWebService.

[http://wiki.rubyonrails.org/rails/pages/ActionWebService](http://wiki.rubyonrails.org/rails/pages/ActionWebService)

James.

–  
James S.  
Web D.

> **[Processing Greenbelt 2009](https://jystewart.net/2009/09/08/processing-greenbelt-2009/)**
>
> We did, in fact, make a newspaper. The hour or so after my last post were more than a little stressful, but the results (a few typos and a printing hiccup that most certainly wasn’t our fault…

---

<div class="post-metadata">

**Author:** ![pshussain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e9c0ed/32.png) [@pshussain](https://www.ruby-forum.com/u/pshussain)\
**Post date:** [April 26, 2007, 12:19am UTC](https://www.ruby-forum.com/t/webservices-in-rails/92928/3 "2007-04-26T00:19:37Z")

</div>

Also, we are not all Dudes!
