From: "dhf0820.lists@..." Date: 2009-03-01T01:23:59+09:00 Subject: Re: xml-rpc calling question On Feb 28, 9:42 am, James Gray wrote: > Arrays, Hashes, Numeric types, and simple Strings are all handled the > same in XML-RPC. Just replace the simple data you've seen in the > examples with more complex collections and it should work fine. > > James Edward Gray II Ok I have tried that with the following: server = XMLRPC::Client.new2("http://websearch.ramaui.com/ramxml.php") results = server.call("lists",{ "dbid" =>"dbid1113086003", "getlist" => "district"}) and I get XMLRPC::FaultException: XMLRPC::FaultException Also tried this: results = server.call("lists",{ :dbid =>"dbid1113086003", :getlist => "district"}) and same results finally tried this: results = server.call("lists", :dbid =>"dbid1113086003", :getlist => "district") with the same results I can run this as the base example I took it from: require 'xmlrpc/client' require 'pp' server = XMLRPC::Client.new2("http://rpc.technorati.com/rpc/ping") result = server.call("weblogUpdates.ping", "Copenhagen.rb", "http:// www.copenhagenrb.dk/") pp result And it woks fine. What is the correct initialization and call? the actual xml structure that should be passed is this: lists - - - - - dbid - dbid1113086003 - getlist - district When called from an unapproved ip it should come back with a message stating so. Don French Any ideas?