For those of you who need to talk to a XML-RPC server that doesn't like the
lack of <string>...</string> tags, specifications be damned. It's a pretty
easy fix.

C

>From xml-rpc v2.0 source
At Line 225 in org/apache/xmlrpc/XmlWriter.java:

    public void writeObject(Object obj)
        throws XmlRpcException, IOException
    {
        startElement("value");
        if (obj == null)
        {
            throw new XmlRpcException
                (0, "null values not supported by XML-RPC");
        }
        else if (obj instanceof String)
        {
           startElement("string");
           chardata(obj.toString());
           endElement("string");
        }
        else if (typeDecoder.isXmlRpcI4(obj))


Reply via email to