uninitialized constant HelloadminController::HelloApi

I have built up a simple allication for web service interaction. But the
following error message occured:

uninitialized constant HelloadminController::HelloApi

service api

class HelloApi < ActionWebService::API::Base
  api_method :getMsg, :expects => [:name=>:string], :returns =>
[:string]

end

service controller

class HelloController < ApplicationController
  wsdl_service_name 'Hello'
  web_service_api HelloApi
  web_service_scaffold :invoke

  def getMsg(name)
    "Hello " + name

  end
end

client controller

class HelloadminController < ApplicationController
  def getMsg
hello_client =
ActionWebService::Client::Soap.new(HelloApi,
"http://localhost:3001/hello/api")
@service_output=
hello_client.getMsg(params[:name])
  end
end

Hi,

Me too get same error.

ruby 1.8.6
rails 1.2.3

Any help regarding this would be greatly appreciated.

thanks,
sathiya

Frank Tsao wrote in post #671657: