From: Michael Neumann Date: 2002-06-29T19:43:37+09:00 Subject: Re: xmlrpc problems On Sat, Jun 29, 2002 at 08:47:16AM +0900, Jonas Bengtsson wrote: > Hi! > > > > I have some trouble getting xmlrpc to work. When I try to run > introspection sample I get: > c:/program/ruby/lib/ruby/site_ruby/1.6/xmlrpc/client.rb:496:in > `do_rpc': HTTP-Error: 500 Internal Server Error (RuntimeError) > from c:/program/ruby/lib/ruby/site_ruby/1.6/xmlrpc/client.rb:382:in > `call2' > from c:/program/ruby/lib/ruby/site_ruby/1.6/xmlrpc/client.rb:372:in > `call' > from G:\Ruby\BlogClient.rb:5 > > On the server I get: > [Sat Jun 29 01:35:39 2002] HttpServer 127.0.0.1:8070 start > [Sat Jun 29 01:36:22 2002] HttpServer 127.0.0.1:8070 client:4631 > caelum<127.0.0.1> connect > [Sat Jun 29 01:36:22 2002] HttpServer 127.0.0.1:8070 client:4631 > disconnect > > > What is the problem? Your xmlrpc server must support introspection. If it is a Ruby xmlrpc server, you have to explicitly make introspection available. Do this by calling server.add_introspection Alternatively you can make introspection the default by setting the flag ENABLE_INTROSPECTION in config.rb. Regards, Michael