search for: xmlrpcstructs

Displaying 1 result from an estimated 1 matches for "xmlrpcstructs".

2010 Nov 02
0
webservice - get client ip address
...eb_service_scaffold :invoke web_service :weblogUpdates, WeblogUpdates.new end in the api definition file: ------- class WeblogUpdatesApi < ActionWebService::API::Base inflect_names false api_method :ping, :expects => [{:sitename=>:string}, {:url=>:string}], :returns => [XmlrpcStructs::PingInfo] end ------- class WeblogUpdates < ActionWebService::Base web_service_api WeblogUpdatesApi def ping(sitename, url) # a logic here .... return XmlrpcStructs::PingInfo.new(:flerror => flerror, :message => message) end end ------ Everything works here Now in my...