How to find web_service_scaffold?

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)

Thanks!

On 8 Feb 2008, at 15:15, Eivind Løland-Andersen wrote:

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)

a rails 2.0 app won’t load actionwebservice by default. I put some
instructions about how to get it going again at
http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/

I also saw this on the mailing list a few months ago:

=> false})
Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs