search for: action_web_service

Displaying 20 results from an estimated 63 matches for "action_web_service".

2006 Mar 28
11
ActionWebService date casting error
...n 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/actionwebservice-1.0.0.4008/lib/action_web_service/casting.rb:62:in `cast'' c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0.4008/lib/action_web_service/casting.rb:123:in `cast_to_structured_type'' c:/ru...
2006 Jun 07
1
Web Service: NoMethodError (missing attribute: featured) !?!?!?!?!
...all><methodName>player.find_by_id</methodName><params><param><value><i4>99</i4></value></param></params></methodCall> NoMethodError (missing attribute: featured): /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/casting.rb:125:in `cast_to_structured_type'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/support/signature_types.rb:206:in `each_member'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/support/signature_t...
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi, I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests for the action_web_services fail as follows, any ideas what I did wrong? Thanks TypeError: can''t modify frozen object /usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name='' /usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param'' /usr/local/lib/ruby/1.8/soap/rpc/element.rb:116:i...
2006 Apr 11
9
Rails failure after upgrade to 1.1.2
...ncluded the full trace when trying to reach the app. Line 3 in application.rb is : class ApplicationController < ActionController::Base Any hints on where I might be going wrong is much appreciated, /kristofer --Full trace from browser-- /usr/lib/ruby/gems/1.9/gems/actionwebservice-1.1.2/lib/action_web_service/container/action_controller_container.rb:66:in `match'' /usr/lib/ruby/gems/1.9/gems/actionwebservice-1.1.2/lib/action_web_service/container/action_controller_container.rb:66:in `require_web_service_api'' /usr/lib/ruby/gems/1.9/gems/actionwebservice-1.1.2/lib/action_web_service/conta...
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 Mar 19
0
action_web_services error with rspec_on_rails
...together (either with the rake task just putting both files on the command line): euclid% spec spec/controllers/crud_resource_controller_spec.rb spec/ controllers/crud_resource_controller_with_join_models_spec.rb /Users/smtlaissezfaire/Sites/rails/dictionary/vendor/rails/ actionwebservice/lib/action_web_service/container/ action_controller_container.rb:74:in `require_web_service_api'': neither _api or _api found (NameError) from /Users/smtlaissezfaire/Sites/rails/dictionary/vendor/ rails/actionwebservice/lib/action_web_service/container/ action_controller_container.rb:48:in `web_serv...
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
...in 0.047129 seconds. 1) Error: test_my_method(ProblemControllerApiTest): NoMethodError: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.length /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/test_invoke.rb:55:in `encode_rpc_call'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/test_invoke.rb:36:in `prepare_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/test_invoke.rb:9:in `invoke'' te...
2006 Jan 07
1
AWS, SOAP, and Exceptions
...alendar.find(calId) rescue Exception => e return e end end I see the following error, prior to the call to encode_reponse(): "Don''t know how to cast ActiveRecord::RecordNotFound to Calendar" c:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-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''...
2006 Apr 17
7
Should Perl talk to Rails via LWP
Hi folks, I need your opinions on a basic design issue. I''ve seen the light of RoR and have replaced my Perl (DBI/CGI) based web server <-> RDBMS communication with RoR, but I still have a whole host of users (other servers/OS''s etc) out there wanting to talk to my RDBMS and they only talk Perl. Also they don''t want to talk Perl/DBI directly (they are not allowed
2005 Dec 14
1
just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:
...: __________________________________________________ # rails /var/www/rail /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant Soap (NameError) from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.rb:57 from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.rb:55:in `class_eval'' from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service.rb:55:in `class_eval'' from /usr/lib/ruby/gems/1.8/gems/actionwebservice...
2005 Dec 30
5
AWS api_method :returns not accepting ActiveRecord::Base
...e it will take an object derived from ActiveRecord::Base instead of an AWS::Struct object. Whenever I try it, though, I get the craziest error: NoMethodError: You have a nil object when you didn''t expect it! The error occured while evaluating nil.new /usr/lib/.../actionwebservice/lib/action_web_service/casting.rb:105:in `cast_to_structured_type'' [...] The reason why there''s a nil object instead of a type class object is because something tried to create a StructuredType of Exception, which (strangely!) doesn''t actually work. Changing my type to any of the internals or...
2006 Jan 06
0
Rails ActionWebService and gSOAP interoperability problem
...al/lib/ruby/1.8/xmlrpc/parser.rb:478:in `parseMethodCall'' > /opt/local/lib/ruby/1.8/xmlrpc/marshal.rb:63:in `load_call'' > /opt/local/lib/ruby/1.8/xmlrpc/marshal.rb:32:in `load_call'' > /opt/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/ > action_web_service/protocol/xmlrpc_protocol.rb:36:in `decode_request'' > /opt/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/ > action_web_service/protocol/xmlrpc_protocol.rb:32:in > `decode_action_pack_request'' > /opt/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0....
2006 Jan 07
0
gSOAP and ActionWebService interop problems
...d name!): /opt/local/lib/ruby/1.8/xmlrpc/parser.rb:478:in `parseMethodCall'' /opt/local/lib/ruby/1.8/xmlrpc/marshal.rb:63:in `load_call'' /opt/local/lib/ruby/1.8/xmlrpc/marshal.rb:32:in `load_call'' /opt/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/xmlrpc_protocol.rb:36:in `decode_request'' /opt/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/xmlrpc_protocol.rb:32:in `decode_action_pack_request'' /opt/local/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_servi...
2005 Aug 23
8
Web Services testing... Agile Book p. 435
I am attempting to test the web services added during chapter 20 of the Agile book. The code as written in the book yields 2 errors: test_find_product_by_id(BackendControllerApiTest): XMLParserError: syntax error Anyone hit this yet and get it to work? Thanks. Ken _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Feb 24
8
web services with ActionWebService
<noobalert> Uh, yeah. So my noob self is showing through again. I''m trying to write a simple hello-world type web service with the ActionWebService thingy. I didn''t get very far. I''ve only done web services stuff in .NET, so I''m not exactly used to this sort of thing. Anyhow, I have a file, person_api.rb in my app/apis folder. I want to take a single
2006 Apr 17
5
XML-RPC Webservice API
...ruby/1.8/xmlrpc/parser.rb:717:in `parse'' /usr/lib/ruby/1.8/xmlrpc/parser.rb:475:in `parseMethodCall'' /usr/lib/ruby/1.8/xmlrpc/marshal.rb:63:in `load_call'' /usr/lib/ruby/1.8/xmlrpc/marshal.rb:32:in `load_call'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/xmlrpc_protocol.rb:36:in `decode_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/xmlrpc_protocol.rb:32:in `decode_action_pack_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/discover...
2006 Apr 26
0
Re: gSOAP and ActionWebService interop problems
...ll - missing method name!): /usr/lib/ruby/1.8/xmlrpc/parser.rb:478:in `parseMethodCall'' /usr/lib/ruby/1.8/xmlrpc/marshal.rb:63:in `load_call'' /usr/lib/ruby/1.8/xmlrpc/marshal.rb:32:in `load_call'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/ action_web_service/protocol/xmlrpc_protocol.rb:36:in `decode_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/ action_web_service/protocol/xmlrpc_protocol.rb:32:in `decode_action_pack_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/ action_web_service/pro...
2006 Jun 23
0
SOAP Web Service Exception
...rything is sample code, so I would have no problem posting code if anyone wanted me to. Thanks in advance for any help given! Full stacktrace: NoMethodError (undefined method `collect'' for #<SOAP::SOAPNil:0x24ea1bc>): /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/soap_protocol.rb:61:in `decode_request'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protocol/soap_protocol.rb:45:in `decode_action_pack_request'' /usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/protoco...
2007 Aug 17
1
Testing webservices in Integration Tests with Jamis Buck's recipe?
...ploads invoke :upload, super_new_data end Test test results in a nil.recycle! error message on the last invoke: NoMethodError: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.recycle! /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.2.1/lib/ action_web_service/test_invoke.rb:32:in `prepare_request'' /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.2.1/lib/ action_web_service/test_invoke.rb:9:in `invoke'' It seems that the default @request in the setup is corrupted by our open_session implementation? Can somebody help me on this? Best...
2006 Jan 03
2
Newbie Install Question
...ds: parameter will default to ''true'' as of 1.8.1 /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/ dependencies.rb:200:in `const_missing'': uninitialized constant Soap (NameError) from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/ action_web_service.rb:57 from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/ action_web_service.rb:55:in `class_eval'' from /usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/ action_web_service.rb:55:in `class_eval'' from /usr/lib/ruby/gems/1.8/gems/actionweb...