I’m trying to make a simple web service in rails 2.0.2, but are hvaing
some problem with use the web service methods.
This following class is used (among others):
class WebController < ApplicationController
web_service_scaffold :invoke
web_service_dispatching_mode :layered
web_service :servicename, MyService.new
end
When I open http://0.0.0.0:3000/web a NoMethodError is returned:
NoMethodError (undefined method `web_service_scaffold’ for
WebController:Class)
How to tell my application where to find this method?
(“gem list” tells me that actionwebservice (1.2.6) is installed)