From: Nate Leavitt Date: 2008-04-25T02:43:32+09:00 Subject: xmlrpc client (HttpBadResponse error) Hey guys... I'm having some issues connecting to an xmlrpc server. Here is my code below: require "xmlrpc/client" server = XMLRPC::Client.new("webservice.com", "/api/xmlrpc", 443) result = server.call('ContactService.load', '4525435214321543', ["FirstName", "LastName"]) when doing the code above in irb.. i keep getting the following error: Net::HTTPBadResponse: wrong status line: "\025\003\001\000\002\002" from /usr/local/lib/ruby/1.8/net/http.rb:2031:in `read_status_line' from /usr/local/lib/ruby/1.8/net/http.rb:2018:in `read_new' from /usr/local/lib/ruby/1.8/net/http.rb:1059:in `request' from /usr/local/lib/ruby/1.8/net/http.rb:1046:in `request' from /usr/local/lib/ruby/1.8/net/http.rb:547:in `start' from /usr/local/lib/ruby/1.8/net/http.rb:1044:in `request' from /usr/local/lib/ruby/1.8/net/http.rb:1001:in `post2' from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:535:in `do_rpc' from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2' from (irb):22 from :0 I have searched everywhere trying to figure out what this means. Please help. -- Posted via http://www.ruby-forum.com/.