similar to: AWS, SOAP, and Exceptions

Displaying 20 results from an estimated 200 matches similar to: "AWS, SOAP, and Exceptions"

2006 Jun 07
1
Web Service: NoMethodError (missing attribute: featured) !?!?!?!?!
Hi all - I have a Player model. The database looks like this: +-------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | fname |
2006 Mar 28
11
ActionWebService date casting error
I have defined a web service to return information from a database as follows. class BackendApi < ActionWebService::API::Base api_method :find_all_vobs, :returns => [[:int]] api_method :find_vob_by_id, :expects => [:int], :returns => [Vob] class BackendController < ApplicationController wsdl_service_name ''Backend''
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 Sep 21
2
ActionWebServer and SOAPFault
I''m really new to RoR and my first task is to write SOAP web service. The problem is that I don''t understand how to send custom SOAPFault messages in case of the errors. For example, I have FindCustomerById API signature: api_method :find_customer_by_id, :expects => [{:customer_id => :int}], :returns => [Customer] And controller: def
2007 Feb 21
1
Exceptions in Response (ActionWebservice)
Hello, i have build an ActionWebservice which returns a string. But if it get an exception in the controller i want to throw an exception. In java it is a soapfault. But if I return in the controller an Exception.new(message) i only get thte message as the return string. NO soapfault. How can i get an soapfault? I hope someone can help me. --~--~---------~--~----~------------~-------~--~----~
2005 Mar 08
2
ActionWebService SOAP Faults aren''t schema valid
I''m working with an ActionWebService client talking to an ActionWebService server through one of DataPower''s XS40 XML Security Gateways. One of the intrinsic functions of this gateway is automatic SOAP schema validation. When testing some failure cases, I noticed that SOAP Faults returned by ActionWebService aren''t schema valid to the SOAP 1.1 schema, specifically:
2006 Jan 06
0
Rails ActionWebService and gSOAP interoperability problem
Hi! I''ve successfully created a Rails web service. I can connect to it with an XML-RPC client, without any problems at all. However, when I try to use a gSOAP application to connect to the web service, it doesn''t work. The back trace that I get is at the end of this message. From the back trace, it appears that the SOAP request is not being recognized as a SOAP
2006 Jan 07
0
gSOAP and ActionWebService interop problems
Hi! I''ve successfully created a Rails web service. I can connect to it with an XML-RPC client, without any problems at all. However, when I try to use a gSOAP application to connect to the web service, it doesn''t work. The back trace that I get is at the end of this message. From the back trace, it appears that the SOAP request is not being recognized as a SOAP request, and
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''
2007 Mar 19
0
action_web_services error with rspec_on_rails
I now have two specs in my rails project which correspond to one rails controller. I can run them individually and they pass, but running them 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
2005 Dec 14
1
just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:
Hello there good rails people! Just did a fresh install of rails on my new (old) Ubuntu machine. I am running ruby 1.8.2 and have installed about five extra packages that do not come with Ubuntu. I managed to install ruby-gems and used gems to successfully install rails but I am getting an error message when I run rails, it seems to be choking on a Tkl paren. Google has not turned up much
2006 Apr 26
0
Re: gSOAP and ActionWebService interop problems
I am experiencing a similar problem, not with gSOAP, but with Apache''s SOAP library. Just like Guido, XML-RPC works perfectly, but the SOAP request processing fails during protocol discovery. Rail''s SOAP client also works perfectly, so I''m fairly certain the error is not in my code. I am new to both ActionWebService and the Ruby XMLRPC module, so I''m
2006 Jun 23
0
SOAP Web Service Exception
I am working on building a prototype for a Rails Web Service that will be used potentially by non-ruby/rails languages. When testing using the *invoke* scaffold I have no problem getting the correct result, however when using a 3rd party PHP client I get a *NoMethodError (undefined method `collect'' for #<SOAP::SOAPNil:0x24ea1bc>):* exception from the rails Webrick web server.
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
Hello. I hope this is the right place to describe my problem ? After upgrading to Rails version 1.1.2 from rails version 1.0.0, Web Service functional tests seem broken. I upgraded rails (as the root user / administrator) with: # gem update rails --include-dependencies then I upgraded my application (as myself) with: ? rake rails:update % rake rails:update:configs After these steps,
2006 Jan 03
2
Newbie Install Question
Hi, I''ve been trying to get rails going on one of our dedicated servers, with no luck. I have ruby installed, gems, etc... When i goto to create my first rails app i get this: rails test /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/ associations/association_proxy.rb:6: warning: instance_methods: parameter will default to ''true'' as of 1.8.1
2006 May 19
2
Problems at running Rails at the first time
Well, i got familiar with writing Ruby scripts the last days and thougt to write a web application with a framework. First steps was Rails. I successfully installed Gems, Action Web Service and Rails, at least the installer said so... :D So I took a tutorial to write a small app, but I fail in the step startig Rails with the command "rails myappdir". There are some warnings and error
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must
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:in `set_param''
2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
OK, I''m finally starting to play around with the AWS part of Rails, and I''m running into problems with the functional tests. If I use the generator to create the web service as ./script/generate web_sevice MyTest do_it and then run the unit tests without further editing the code, I get the following error: test_do_it(MyTestControllerApiTest): ArgumentError: illegal
2007 Aug 17
1
Testing webservices in Integration Tests with Jamis Buck's recipe?
Hello, I''m using Jamis Buck''s recipe to do integration tests on an application, but I got a nil.recycle! error while doing a webservice call. This is the situation. def test_uploading_data invoke :upload, data invoke :upload, even_more_data real_user_session = new_session_as @real_user real_user_session.press_magic_button_to_enable_more_uploads invoke :upload,