search for: cast_returns

Displaying 5 results from an estimated 5 matches for "cast_returns".

2006 Mar 28
11
ActionWebService date casting error
...0.0.4008/lib/action_web_service/casting.rb:121:in `cast_to_structured_type'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0.4008/lib/action_web_service/casting.rb:60:in `cast'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0.4008/lib/action_web_service/casting.rb:38:in `cast_returns'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0.4008/lib/action_web_service/casting.rb:25:in `cast_returns'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0.4008/lib/action_web_service/api.rb:193:in `cast_returns'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservic...
2006 Jun 07
1
Web Service: NoMethodError (missing attribute: featured) !?!?!?!?!
....2/lib/action_web_service/casting.rb:124:in `cast_to_structured_type'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/casting.rb:60:in `cast'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/casting.rb:38:in `cast_returns'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/casting.rb:25:in `cast_returns'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/api.rb:193:in `cast_returns'' /usr/local/lib/ruby/gems/1.8/gems/a...
2006 Jan 07
1
AWS, SOAP, and Exceptions
...1.0.0/lib/action_web_service/casting.rb:119:in `cast_to_structured_type'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/casting.rb:55:in `cast'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/casting.rb:38:in `cast_returns'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/casting.rb:25:in `cast_returns'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/api.rb:189:in `cast_returns'' c:/ruby/lib/ruby/gems/1.8/gems/actionwe...
2006 Jul 31
5
ActionWebService API
Hi *, I need to pass a hash to a webservice, so I defined my API with: api_method :search, :expects => [{ :tags => :string, :assignment => :string, :resource => :string, :lesson_plan => :string, :subject => :string, :all_types => :string }], :returns => [[Resource]] when I try to test the webservice with scaffold the
2007 Jun 06
0
ActionWebService API ignoring multiple return values?
...ndefined method `remote_addr'' for #<ActionWebService::Protocol::SimpleActionPackRequest:0x34bdd60> It seems to be expecting only one return value, with type boolean. When I look at the AWS code, it seems to be written this way (this is lines 36-39 in casting.rb for AWS 1.2.3): def cast_returns(api_method, return_value) # :nodoc: return nil if api_method.returns.nil? cast(return_value, api_method.returns[0]) end Am I doing something wrong? Can''t AWS have more than one return value? What should that look like in the implementation? Thanks in advance. Colleen --~--~-------...