Problem using xmlrpc/client in ruby

I am currently using a python script to make a xmlrpc call to remote API using xmlrpclib. I want to make the similar call using ruby. But I am unable to do it. I am facing errors. My python and ruby both scripts can be found here:

Please help me find the solution.

Not only this, I also could not run the basic xmlrpc examples given in ruby documentations. I have the following 2 unsolved issues as well. Please help me.

http://stackoverflow.com/questions/13256234/error-running-xmlrpc-client-in-ruby/13256339#comment18064985_13256339

http://stackoverflow.com/questions/13137390/ruby-xmlrpc-client-having-http-error

If anyone of you are using xmlrpc successfully with ruby, please share it with me.

Thanks in advance

ยทยทยท

-----
Best Regards,

Mohammed Yasin Rahman
Software Engineer
UPMC, CNRS
Paris, France

Email: mohammed-yasin.rahman@lip6.fr