uninitialized constant ActionWebService

View: New views
4 Messages — Rating Filter:   Alert me  

uninitialized constant ActionWebService

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hey guys

I am very much new to ruby. I was just trying to implement a websrvice
example in Ruby on Rails by using
"http://www.ibm.com/developerworks/opensource/library/os-ws-rubyrails/index.html"
i got the error like this.can any one help me to resolve this issue.


Error is..

 NameError in Hello messageController#wsdl

uninitialized constant ActionWebService

RAILS_ROOT: C:/ruby/webservice
Application Trace | Framework Trace | Full Trace

c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:443:in
`load_missing_constant'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in
`const_missing'
C:/ruby/webservice/app/controllers/hello_message_api.rb:1
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in
`load_without_new_constant_marking'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in
`load_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in
`new_constants_in'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:379:in
`load_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:259:in
`require_or_load'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:425:in
`load_missing_constant'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:98:in
`send'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:98:in
`const_missing'
C:/ruby/webservice/app/controllers/hello_message_controller.rb:3
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in
`load_without_new_constant_marking'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in
`load_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in
`new_constants_in'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:379:in
`load_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:259:in
`require_or_load'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:425:in
`load_missing_constant'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:361:in
`constantize'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in
`each'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in
`constantize'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/inflections.rb:162:in
`constantize'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:443:in
`recognize'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:436:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:87:in
`dispatch'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in
`_call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in
`build_middleware_stack'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in
`cache'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`synchronize'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`each'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in
`process'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in
`process_client'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in
`each'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in
`process_client'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
`initialize'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
`new'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in
`initialize'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in
`new'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
script/server:3

c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:443:in
`load_missing_constant'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in
`const_missing'
C:/ruby/webservice/app/controllers/hello_message_api.rb:1
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in
`load_without_new_constant_marking'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in
`load_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in
`new_constants_in'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:379:in
`load_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:259:in
`require_or_load'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:425:in
`load_missing_constant'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:98:in
`send'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:98:in
`const_missing'
C:/ruby/webservice/app/controllers/hello_message_controller.rb:3
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in
`load_without_new_constant_marking'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:380:in
`load_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in
`new_constants_in'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:379:in
`load_file'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:259:in
`require_or_load'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:425:in
`load_missing_constant'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:92:in
`const_missing'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:361:in
`constantize'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in
`each'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/inflector.rb:360:in
`constantize'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/string/inflections.rb:162:in
`constantize'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:443:in
`recognize'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:436:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:87:in
`dispatch'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in
`_call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in
`build_middleware_stack'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
`cache'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in
`cache'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
`synchronize'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:114:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/reloader.rb:34:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:108:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`each'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in
`call'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in
`process'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in
`process_client'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in
`each'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in
`process_client'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
`initialize'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
`new'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in
`initialize'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in
`new'
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in
`run'
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
script/server:3

Request

Parameters:

None

Show session dump

---

Response

Headers:

{"Content-Type"=>"",
 "Cache-Control"=>"no-cache"}


Thanks in advance
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: uninitialized constant ActionWebService

by Frederick Cheung-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




On Nov 10, 6:35 am, Chinna Gogulapati <rails-mailing-l...@andreas-
s.net> wrote:
> Hey guys
>
> I am very much new to ruby. I was just trying to implement a websrvice
> example in Ruby on Rails by using
> "http://www.ibm.com/developerworks/opensource/library/os-ws-rubyrails/..."
> i got the error like this.can any one help me to resolve this issue.
>

ActionWebService was removed from rails something like 2 years ago.
You can install gems like datanoise-actionwebservice to get that
functionality back.

Fred

> Error is..
>
>  NameError in Hello messageController#wsdl
>
> uninitialized constant ActionWebService
>
> RAILS_ROOT: C:/ruby/webservice
> Application Trace | Framework Trace | Full Trace
>
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:443:in
> `load_missing_constant'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:80:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:92:in
> `const_missing'
> C:/ruby/webservice/app/controllers/hello_message_api.rb:1
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:380:in
> `load_without_new_constant_marking'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:380:in
> `load_file'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:521:in
> `new_constants_in'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:379:in
> `load_file'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:259:in
> `require_or_load'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:425:in
> `load_missing_constant'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:80:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:92:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:98:in
> `send'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:98:in
> `const_missing'
> C:/ruby/webservice/app/controllers/hello_message_controller.rb:3
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:380:in
> `load_without_new_constant_marking'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:380:in
> `load_file'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:521:in
> `new_constants_in'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:379:in
> `load_file'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:259:in
> `require_or_load'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:425:in
> `load_missing_constant'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:80:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:92:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/infle ctor.rb:361:in
> `constantize'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/infle ctor.rb:360:in
> `each'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/infle ctor.rb:360:in
> `constantize'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ ext/string/inflections.rb:162:in
> `constantize'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routi ng/route_set.rb:443:in
> `recognize'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routi ng/route_set.rb:436:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:87:in
> `dispatch'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:121:in
> `_call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:130:in
> `build_middleware_stack'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_c ache.rb:29:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_c ache.rb:29:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connect ion_adapters/abstract/query_cache.rb:34:in
> `cache'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_c ache.rb:9:in
> `cache'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_c ache.rb:28:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connect ion_adapters/abstract/connection_pool.rb:361:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/param s_parser.rb:15:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/sessi on/cookie_store.rb:93:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/fails afe.rb:26:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
> `synchronize'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:114:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/reloa der.rb:34:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:108:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
> `each'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17: in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in
> `process'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 159:in
> `process_client'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 158:in
> `each'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 158:in
> `process_client'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 285:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 285:in
> `initialize'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 285:in
> `new'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 285:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 268:in
> `initialize'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 268:in
> `new'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 268:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> script/server:3
>
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:443:in
> `load_missing_constant'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:80:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:92:in
> `const_missing'
> C:/ruby/webservice/app/controllers/hello_message_api.rb:1
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:380:in
> `load_without_new_constant_marking'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:380:in
> `load_file'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:521:in
> `new_constants_in'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:379:in
> `load_file'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:259:in
> `require_or_load'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:425:in
> `load_missing_constant'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:80:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:92:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:98:in
> `send'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:98:in
> `const_missing'
> C:/ruby/webservice/app/controllers/hello_message_controller.rb:3
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:380:in
> `load_without_new_constant_marking'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:380:in
> `load_file'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:521:in
> `new_constants_in'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:379:in
> `load_file'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:259:in
> `require_or_load'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:425:in
> `load_missing_constant'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:80:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/depen dencies.rb:92:in
> `const_missing'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/infle ctor.rb:361:in
> `constantize'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/infle ctor.rb:360:in
> `each'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/infle ctor.rb:360:in
> `constantize'
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ ext/string/inflections.rb:162:in
> `constantize'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routi ng/route_set.rb:443:in
> `recognize'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routi ng/route_set.rb:436:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:87:in
> `dispatch'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:121:in
> `_call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:130:in
> `build_middleware_stack'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_c ache.rb:29:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_c ache.rb:29:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connect ion_adapters/abstract/query_cache.rb:34:in
> `cache'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_c ache.rb:9:in
> `cache'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_c ache.rb:28:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connect ion_adapters/abstract/connection_pool.rb:361:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/param s_parser.rb:15:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/sessi on/cookie_store.rb:93:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/fails afe.rb:26:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
> `synchronize'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:114:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/reloa der.rb:34:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispa tcher.rb:108:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:31:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
> `each'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/log_tailer.rb:17: in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in
> `call'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in
> `process'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 159:in
> `process_client'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 158:in
> `each'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 158:in
> `process_client'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 285:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 285:in
> `initialize'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 285:in
> `new'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 285:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 268:in
> `initialize'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 268:in
> `new'
> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb: 268:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in
> `run'
> c:/ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> script/server:3
>
> Request
>
> Parameters:
>
> None
>
> Show session dump
>
> ---
>
> Response
>
> Headers:
>
> {"Content-Type"=>"",
>  "Cache-Control"=>"no-cache"}
>
> Thanks in advance
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: uninitialized constant ActionWebService

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Frederick Cheung wrote:

> On Nov 10, 6:35�am, Chinna Gogulapati <rails-mailing-l...@andreas-
> s.net> wrote:
>> Hey guys
>>
>> I am very much new to ruby. I was just trying to implement a websrvice
>> example in Ruby on Rails by using
>> "http://www.ibm.com/developerworks/opensource/library/os-ws-rubyrails/..."
>> i got the error like this.can any one help me to resolve this issue.
>>
>
> ActionWebService was removed from rails something like 2 years ago.
> You can install gems like datanoise-actionwebservice to get that
> functionality back.
>
> Fred

Hey Fred,

Thnq very much for your quick response, I instaled
datanoise-actionwebservice gem as you suggested but result is smae. I
don't know why it is happening can u suggest me one more solution.

Regards
Chinna.
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: uninitialized constant ActionWebService

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi
> Thnq very much for your quick response, I instaled
> datanoise-actionwebservice gem as you suggested but result is smae. I
> don't know why it is happening can u suggest me one more solution.

    You have to do
step1 - sudo gem install datanoise-actionwebservice --source
http://gems.github.com

   This will install datanoiseactionwebservice version 2.3.2

Step2 - in config/environment.rb under the section  # Add additional
load paths for your own custom dirs         add the line

config.load_paths += %W( #{RAILS_ROOT}/app/apis )

step3 -  in config/environment.rb under the section #Specify gems that
this application.....            add the line

config.gem 'datanoise-actionwebservice', :lib => 'actionwebservice',
:version => '2.3.2'



Sijo

--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---