similar to: Testing webservices in Integration Tests with Jamis Buck's recipe?

Displaying 20 results from an estimated 100 matches similar to: "Testing webservices in Integration Tests with Jamis Buck's recipe?"

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,
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''
2006 May 19
1
Strange error when testing layered web service
Hi all, Ruby 1.8.4 Rails 1.1.2 1) Error: test_find_hardware_by_id(HardwareControllerApiTest): ArgumentError: illegal refid http://test.host/ c:/ruby/lib/ruby/1.8/soap/baseData.rb:166:in `decode'' c:/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:153:in `decode_tag'' c:/ruby/lib/ruby/1.8/soap/parser.rb:179:in `decode_tag''
2006 Jan 30
3
Arrays of objects as parameters to webservices
I think I am missing something terribly obvious. Is it possible to have an :expects parameter for a webservice that is an array of objects? I want to have a single webservice that expects all my line items (for an order). Is this something that is possible? -- Posted via http://www.ruby-forum.com/.
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 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
2006 Dec 27
2
DB-less rspec_on_rails
Hi! I''m still struggling with RSpec to get it working with a Rails application, that does not use a database. I removed all the db:* dependencies from the RSpec targets, but it still wants to connect to a database. Any ideas? bye, Tobias ** Execute spec:models /usr/bin/ruby1.8 -I"/var/lib/gems/1.8/gems/rspec-0.7.5/lib"
2006 May 26
4
Jamis, problem w/Capistrano
Jamis, I''ve spent hours trying to get Capistrano working, to no avail. I''m hosting over at www.railsplayground.com, and here''s their instructions I''ve been following: http://tinyurl.com/hyo93 I can''t get past step 7. When I execute "rake remote:setup", I get a rake aborted! message. When I do a "rake --tasks", I get only a
2006 Oct 24
1
Changeset 5358 - Jamis
In http://dev.rubyonrails.org/changeset/5358 and the new alternative deprecation method, deprecate :link_image_to => :link_to_image should probably use the message version, as both link_image_to and link_to_image should be deprecated (according to the comments at least): deprecate :link_image_to => "Use link_to(image_tag()) instead"
2006 May 12
1
problems with 1.0beta[78] on RHEL3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been running 0.99.13 on RHEL 3 for over a year now and finally decided to upgrade to the 1.0 series. unfortunately, I only have one RHEL 3 machine which is my production machine. So, while doing all my preliminary testing I was doing so on a FC 3 machine. I got everything to a stage where I felt comfortable doing the upgrade but I'm
2009 Jul 07
3
VFS recycle & force user
Hi, i have problem with share with parametr "force user" Here i my settings of VFS modul recycle vfs object = recycle recycle:repository = .recycle/%u recycle:maxsize = 50000000 recycle:exclude = *.tmp *.temp *.o *.obj ~$* recycle:exclude_dir = sdileni/*/profile* tmp temp cache recycle:versions = yes
2006 Jul 13
0
webservices and date time error - part 2
Hello, When I am trying to receive an array of objects, retrieved by ActiveRecord from table with datetime column, while using using ActionWebServices I get the error: ArgumentError: 3 elements of civil date are necessary Daniel Berger, posted that this might be fixed by changing the timezone format in the Windows registry.
2006 May 06
0
Caching webservices?
Is there any way to do this? I know that you can cache controllers (described at http://scottstuff.net/blog/articles/2005/10/04/rails-caches_action_with_params), but I can''t find anything in the docs about caching web services. Thanks, Ben -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 18
2
rails and .net webservices
Hello. I am novice in ruby. How can i use .net webservice method from ruby. Thanks. -- Posted via http://www.ruby-forum.com/.
2006 May 18
0
Re: WebServices and DateTime - 3 elements of civil date are
> -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of > Chris Goodwin > Sent: Thursday, May 18, 2006 2:24 PM > To: rails@lists.rubyonrails.org > Subject: [Rails] Re: WebServices and DateTime - 3 elements of > civil date are > > > Are you using Windows? I ran into the same problem.
2008 May 21
1
Testing REST webservices? (Not Rails)
Hi, I am new to RSpec and BDD. I was wondering if RSpec specifications are a good solution for testing REST webservices (not implemented in Rails). If so, what would be a good way to test something like the API described below? =========== GET http://localhost/workflow text/xml Result: 200 OK <?xml version="1.0"?> <workflows>
2008 May 21
2
RSpec for testing REST webservices? (Not Rails)
Hi, I am new to RSpec and BDD. I was wondering if RSpec specifications are a good solution for testing REST webservices (not implemented in Rails). If so, what would be a good way to test something like the API described below? =========== GET http://localhost/workflow text/xml Result: 200 OK <?xml version="1.0"?> <workflows>
2006 Jan 23
1
How to call C# webservices
hey, i have created some webservices in C# with vb.net and IIS. i can go to them with http://localhost/Twodecode.Webservices/webservices.asmx Like: [Webservice] AddCity(string zip, string city) { ...do some stuff return "SUCCES"; } How must i call this from ruby?? I save an object, and then call the services. city = City.new() if city.save //call webservice else //do
2006 Jan 24
0
Calling webservices
Hey, I found this on the web. http://groups.google.be/group/comp.lang.ruby/browse_thread/thread/1e4015385d29fbae/1c75bbd325fffd80?lnk=st&q=ruby+Server+did+not+recognize+the+value+of+HTTP+Header+SOAPAction&rnum=1&hl=nl&utoken=1E3jSjEAAABJvF0LfsU_y2vKQdUqO05-SuWh7Qp4TDjaLpMsabUfgs6vFyhVbm91Ec8wnlUJkMJ1cPkfXpSLv0-5C4lVNC3B ''A newbie query about Soap4R and dot net web
2006 Jan 26
1
Webservices and submitting object with associations
Hi - is there an easy way to submit an object with its associations as an :expects parameter to a AWS webservice? I know I could first create a webservice method for the object, and then call - in a loop - another webservice for each of my association objects. Is there an easier more elegant way, so that I don''t have to make so many expensive webservice calls? I was thinking