On 9/1/06, Pankaj Kumar <pankajkumar144 / rediffmail.com> wrote: > Hi!all > when i run ruby client program(which simply adds& subtracts two numbers > by making XML-RPC call to ruby server program stored in cgi-bin > directory of apache server), it's giving following error > /usr/local/lib/ruby/site_ruby/1.8/xmlrpc/client.rb:502:in `do_rpc': > HTTP-Error: 500 Internal Server Error (RuntimeError) > from /usr/local/lib/ruby/site_ruby/1.8/xmlrpc/client.rb:382:in > `call2' > from /usr/local/lib/ruby/site_ruby/1.8/xmlrpc/client.rb:372:in > `call' > from ruby_c.rb:9 > where is the problem? > can you post your code? Also, you say you're using Apache as the server (or I'm assuming that from the fact that you mention that the ruby server program is stored in the cgi-bin directory of apache server). Perhaps you should try to get it working with the webrick server built-in to Ruby's XML-RPC first and then move to apache - that way you can eliminate apace setup problems as the possible culprit. Phil