Displaying 3 results from an estimated 3 matches for "unifiedloginapi".
2006 May 24
2
array parameters in web services
I''m working in a web service, actually, I have:
class UnifiedLoginApi < ActionWebService::API::Base
class CLL_Metadata < ActionWebService::Struct
member :key, :string
member :type, :string
member :value, :string
member :webapplication_id, :string
member :user_tenfold_id, :string
member :login_u...
2006 May 31
0
web service parameters
Can I return an structure array from a web service in rails?
I have this:
class CLL_Metadata < ActionWebService::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...
2006 Nov 07
0
somebody is calling my setters in the webservices!!!
...:bool
member :answer_description, :string
member :error, :bool
member :error_description, :string
# 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.answe...