From: why the lucky stiff Date: 2002-12-11T14:16:05+09:00 Subject: Re: Problems transporting nil values using XMLRPC (net/http ?) NAKAMURA, Hiroshi (nahi@keynauts.com) wrote: > if someone.let(you) { |use| use == "XML" } Favorite line! > elsif !you.like?("XML") > require 'yaml' require 'okay/rpc' if you.read( "http://wiki.yaml.org/yamlwiki/OkayRpcProtocol" ) Comes with yaml.rb. If you have yaml.rb, you can check out the demo server via irb: require 'okay/rpc' ==>true c = Okay::RPC::Client.new( 'whytheluckystiff.net' ) ==>#, @timeout=30, @path="/okayRpc/", @parser=nil, @auth=nil, @use_ssl=false, @password=nil, @host="whytheluckystiff.net", @proxy_port=nil, @user=nil, @queue=#true}, @documents=[]>, @proxy_host=nil> c.call( 'system.listMethods' ) ==>["currentTime.getCurrentTime", "examples.addtwo", "examples.addtwofloat", "examples.base64", "examples.echo", "examples.getStateName", "examples.invertBooleans", "examples.sortByAge", "examples.stringecho", "system.about", "system.getCapabilities", "system.listMethods", "system.methodBlank", "system.methodHelp", "system.methodSignature"] c.call( 'system.methodHelp', 'system.about' ) ==>"Provides a short description of this !okay/rpc server's intent." Yep. _why