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:
> 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

-- 
Posted via http://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.

Reply via email to