I’m trying to build up a SOAP server using ActionWebService (customer’s
requirement). It took me a little while to remember that I had seen a
changeset removing actionwebservice from the default load path of Rails
(
http://dev.rubyonrails.org/changeset/6550). Now that I’m manually
requiring
AWS, it seems to be just plain broken. Besides seeing old documentation
that’s frankly very hard to understand in terms of what goes where, AWS
can’t find my API specification in the apis directory. Here’s what I’ve
got:
app/apis
- dispatcher_api.rb
class DispatcherApi < ActionWebService::API::Base
api_method :ping
…
end
app/controllers
- dispatcher_controller.rb
class DispatcherController < ApplicationController
web_service_api :dispatcher
end
According to the documentation, and from the code I’ve looked at, this
should work fine, but it doesn’t. I’ll look around more, but does anyone
know details on the state of AWS and why my code above doesn’t work?
Thanks
Jason