From: Hal Brodigan Date: 2008-12-17T10:21:02+09:00 Subject: [ruby-core:20604] [Bug #894] XMLRPC::Server "system.listMethods" handler fails in Ruby 1.9.1-preview2 Bug #894: XMLRPC::Server "system.listMethods" handler fails in Ruby 1.9.1-preview2 http://redmine.ruby-lang.org/issues/show/894 Author: Hal Brodigan Status: Open, Priority: High When trying to call "system.listMethods" with an example XMLRPC::Server, I noticed that a XMLRPC::FaultException would always be raised. # # Server # require 'xmlrpc/server' class TestObject def test "this is a test" end end server = XMLRPC::Server.new server.add_introspection server.add_handler('obj', TestObject.new) server.serve # # Client # require 'xmlrpc/client' client = XMLRPC::Client.new2('http://localhost:8080') client.call('obj.test') # => "this is a test" client.call('system.listMethods') XMLRPC::FaultException: XMLRPC::FaultException from /usr/local/lib/ruby19/1.9.1/xmlrpc/client.rb:414:in `call' from (irb):10 from /usr/local/bin/irb19:12:in `
' Although, "system.listMethods" does work when no handlers are added. Tested with Ruby 1.9.1-preview2. ---------------------------------------- http://redmine.ruby-lang.org