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@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---