Displaying 6 results from an estimated 6 matches for "invoke_submit".
2006 Mar 05
1
TypeError in Rpc#invoke_submit
Hi!
I''m getting "TypeError in Rpc#invoke_submit" when trying to get access
my controller api via soap.
What do I have to do?
Here is the full trace:
/home/www/lib/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/home/www/lib/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
/home/www/lib/lib/ruby/1.8/soap/rpc/element.rb:116:i...
2006 Mar 28
11
ActionWebService date casting error
...ect via http://localhost:3000/backend/invoke (using the web
service scaffolding) FindAllVobs works as expected, but FindVobById
returns an error as seen below. The date that "parse" is puking on in
the database is set to ''2001-10-15 10:41:41''.
ArgumentError in Backend#invoke_submit
invalid date
c:/ruby/lib/ruby/1.8/date.rb:1214:in `new_with_hash''
c:/ruby/lib/ruby/1.8/date.rb:1258:in `parse''
c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0.4008/lib/action_web_service/casting.rb:103:in
`cast_base_type''
c:/ruby/lib/ruby/gems/1.8/gems/actionwebser...
2006 Jun 07
1
Web Service: NoMethodError (missing attribute: featured) !?!?!?!?!
...`measure''
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:51:in `dispatch_web_service_request''
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/scaffolding.rb:83:in `invoke_submit''
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure''
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/scaffolding.rb:67:in `invoke_submit''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910...
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
2006 Sep 11
5
WebServices & controllers
...Then, my api is defined as follow:
class DocumentsApi < ActionWebService::API::Base
api_method :list, :returns => [:string]
end
But when running invoke web interface (same if real client), I got the
following:
Template is missing
Missing template
./script/../config/../app/views/contents/invoke_submit.rhtml
What do I miss here?
Thanks you
Jean-Etienne
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send ema...
2005 Jul 25
2
ActionWebService woes
I''m currently writing an app that provides a Web Service.
I''ve got a model Header and an associated has_one HeaderImage and I''m
trying to find a way to make this data available. Defining a normal API:
api_method :header, :expects => [{''id'' => :int}], :returns => [Header]
Only returns the header object without associations, has anyone got