# Action web services

**URL:** <https://www.ruby-forum.com/t/action-web-services/188016>\
**Category:** Rails\
**Created:** [May 4, 2010, 10:20am UTC](https://www.ruby-forum.com/t/action-web-services/188016 "2010-05-04T10:20:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![purush](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@purush](https://www.ruby-forum.com/u/purush)\
**Post date:** [May 4, 2010, 10:20am UTC](https://www.ruby-forum.com/t/action-web-services/188016/1 "2010-05-04T10:20:58Z")

</div>

Hi All,

I am new to ruby web services. when i created a web service using the  
ruby script/server web\_service item. The service files are created and  
added line config.gem ‘datanoise-actionwebservice’, :lib =\>  
‘actionwebservice’ in environment.rb in config folder.

when i am accessing this url [http://localhost:3000/item](http://localhost:3000/item) i am getting the  
following error and i have attached a screenshot of the error.

TypeError in ItemController#index

can’t convert MissingSourceFile to String

RAILS\_ROOT: /var/www/html/rails/reflist  
Application Trace | Framework Trace | Full Trace

/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action\_web\_service/container/action\_controller\_container.rb:64:in  
`match' /home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/container/action_controller_container.rb:64:in `rescue in require\_web\_service\_api’  
/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action\_web\_service/container/action\_controller\_container.rb:61:in  
`require_web_service_api' /home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/container/action_controller_container.rb:48:in `web\_service\_api\_with\_require’  
/home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action\_web\_service/container/action\_controller\_container.rb:85:in  
`inherited_with_api' /home/webuser/.gem/ruby/1.9.1/gems/datanoise-actionwebservice-2.3.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:32:in `inherited\_with\_action\_controller’  
/var/www/html/rails/reflist/app/controllers/application\_controller.rb:4:in  
`' /var/www/html/rails/reflist/app/controllers/item_controller.rb:1:in `’

Please help me
