Displaying 2 results from an estimated 2 matches for "unifiedlogincontroller".
2006 May 31
0
web service parameters
...ctionWebService::Struct
member :key, :string
member :type, :string
end
and I want to do this:
class UnifiedLoginApi < ActionWebService::API::Base
api_method :GetMetadata,
:returns => [ [CLL_ Metadata] ]
but when I do:
class UnifiedLoginController < ApplicationController
wsdl_service_name ''UnifiedLogin''
web_service_scaffold :invoke
def GetMetadata(metadata)
metadata1 = CLL_Metadata.new
metadata1.key = ''fdsafda''
metadata1.type = ''1''
metadata1.value = '...
2006 Nov 07
0
somebody is calling my setters in the webservices!!!
...# This is my setter
def error_description=(value)
@answer_description = nil
@error = true
@error_description = value
end
end
and now, the webservice
class UnifiedLoginApi < ActionWebService::API::Base
api_method :test1,
:returns => [CLL_Answer]
end
class UnifiedLoginController < ApplicationController
wsdl_service_name ''UnifiedLogin''
web_service_scaffold :invoke
def test1
answer = CLL_Answer.new
answer.answer_description = "hello world!!!"
answer
end
end
well, I''m supposed to receive an answer structures, with...