Displaying 1 result from an estimated 1 matches for "xmlrpctest".
2006 Apr 21
3
Problem with Mongrel, Rails and web services using xmlrpc
...ck, but chokes on Mongrel. Is there anything special I need
to do to make web services work with Mongrel and Rails? Some Google
searching indicates that there had been some xmlrpc issues in the past
with Mongrel but I thought they were worked out.
Anyway, here''s the script and error:
# xmlrpctest.rb
require ''xmlrpc/client''
rpc = XMLRPC::Client.new(''localhost'', ''http://localhost/webservice/api'',
3000)
rpc.call(''hardware.FindHardwareById'', 2)
c:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'': Invalid argumen...