From: "NAKAMURA, Hiroshi" Date: 2002-12-11T13:59:47+09:00 Subject: Re: Problems transporting nil values using XMLRPC (net/http ?) Hi, This is a response to your OT. > From: "Martin Hart" > Sent: Wednesday, December 11, 2002 12:28 AM > - As a slightly OT point, I would be interested in knowing what other > people are using (XMLRPC, SOAP, RYO etc) for client/server projects case rpcType when "Ruby/Ruby" if you.required_speed > Speed::ThresholdExtra raise NotImplementedError.new( "proprietary text/bin format over socket") else require 'drb/drb' end when "Ruby/other", "other/Ruby" if someone.let(you) { |use| use == "XML" } if you.favorite === Simplicity::High require 'xmlrpc/client' require 'xmlrpc/server' elsif you.favorite === Simplicity::Low # Complexity::High # you want multi-byte chars as a first-class object, multi-ref object # graph such as a digraph, user defined class, or etc. require 'soap/driver' require 'soap/cgiStub' else raise NotImplementedError.new( "proprietary XML wire format over some protocol(BEEP?)") end elsif !you.like?("XML") require 'yaml' else require 'http-access2' p HTTPClient.new.getContent( "http://rrr.jin.gr.jp/rwiki?cmd=view;name=Marshal") raise NoMethodError.new( "You have to choose one of it or implement yourself.") end else raise TypeError.new("Ruby is required here.") end Regards, // NaHi