# Webservices in rubyonrails

**URL:** <https://www.ruby-forum.com/t/webservices-in-rubyonrails/152944>\
**Category:** Rails\
**Created:** [November 10, 2008, 10:02am UTC](https://www.ruby-forum.com/t/webservices-in-rubyonrails/152944 "2008-11-10T10:02:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravindra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/35a633/32.png) [@ravindra](https://www.ruby-forum.com/u/ravindra)\
**Post date:** [November 10, 2008, 10:02am UTC](https://www.ruby-forum.com/t/webservices-in-rubyonrails/152944/1 "2008-11-10T10:02:12Z")

</div>

I am new to the rubyonrails. I installed the rails 2.1.2 .  
To work on webservices I installed the gem actionwebservice 1.2.6  
By seeing in this link

> **[钛刻专家——官网](https://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/)**
>
> 钛刻专家致力于打造一个全球专家在线服务平台，为机构和个人对接高水平行业专家，为机构提供更系统性的线下定制专家服务。

I modified the initializer.rb to load the actionwebservices I add the  
following attributes  
attr\_accessor :action\_web\_service and  
config = Rails::Configuration.new  
config.frameworks += [:action\_web\_service]  
config.action\_web\_service = Rails::OrderedOptions.new  
config.load\_paths += %W( #{RAILS\_ROOT}/app/apis )

Even though I am getting the error uninitialized constant  
ActionWebService::Base:Relodable

In order to solve this by seeing in the link

> **[O'Reilly Media - Technology and Business Training](https://www.oreilly.com/)**
>
> Gain technology and business knowledge and hone your skills with learning resources created and curated by O'Reilly's experts: live online training, video, books, our platform has content from 200+ of the world's best publishers.

I had executed the command rake rails:freeze:gems ,now also I am  
getting the error

uninitialized constant ActionWebService.

can u please solve my problem. how to install actionwebservices and  
accesing thosr in rubyonrails

---

<div class="post-metadata">

**Author:** ![ravindra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/35a633/32.png) [@ravindra](https://www.ruby-forum.com/u/ravindra)\
**Post date:** [November 11, 2008, 10:03pm UTC](https://www.ruby-forum.com/t/webservices-in-rubyonrails/152944/2 "2008-11-11T22:03:53Z")

</div>

afaik, ActionWebService is old and has been replaced by  
ActiveResource.
