search for: inflect_nam

Displaying 3 results from an estimated 3 matches for "inflect_nam".

Did you mean: inflect_names
2006 Mar 02
1
web serveces problem
Hi, I''m trying to added layered web services to my application and from some reason it''s not working for me. i''m working with ruby 1.84, rails 1.0. here are my files: 1. app/apis/kate_api.rb: class KateAPI < ActionWebService::API::Base inflect_names false api_method :check_version, :expects => [:string], :returns => [:string] end 2. app/models/kate_api_service.rb : (tried to put it also in apis directory - where should it be??) class KateAPIService < ActionWebService::Base web_service_api KateAPI def check_version (version)...
2005 Feb 24
8
web services with ActionWebService
..._api.rb in my app/apis folder. I want to take a single string as a parameter, and return an array of strings. I''m not sure if I got the method signature stuff correct. My current code for the app/apis/person_api.rb file is like this: class PersonAPI < ActionWebService::API::Base inflect_names false api_method :friends, :returns => [[:string]], :expects => [ {:mboxhash => :string} ] end And then in my app/controllers/person_controller.rb file I have: class PersonController < ApplicationController layout "xhtml11common", :except => :foaf...
2010 Nov 02
0
webservice - get client ip address
...onController web_service_dispatching_mode :layered wsdl_service_name ''weblogUpdates.ping'' web_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 X...