Hi,

> From: Martin Hart [mailto:martin / zsdfherg.com] 
> Sent: Thursday, December 12, 2002 7:23 AM

> I am not all that hot on this rpc type technology.  Can 
> anybody see any 
> alternatives (perhaps some other protocol supports the 
> transportation of 
> null values   SOAP ??)

$ ruby -rsoap/marshal -e 'puts SOAPMarshal.dump(nil)'
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Body>
<NilClass
    xmlns:n1="http://schemas.xmlsoap.org/soap/encoding/"
    xsi:nil="true"
    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
</NilClass>
</env:Body>
</env:Envelope>

$ ruby -rsoap/marshal -e 'puts SOAPMarshal.load(SOAPMarshal.dump(nil))'
nil

$ ruby -ryaml -e 'puts nil.to_yaml'
--- ~

$ ruby -ryaml -e 'puts YAML.load(nil.to_yaml)'
nil

Regards,
// NaHi