I don't know if this mailing list concern bugs about XML-RPC package, then I try to do short and all my apologies if I do a wrong post.
The XML-RPC specs says that parameters of type String have to be enclosed in <string> tags.
But the spec says also that "If no type is indicated, the type is string."
I met troubles with some xml-rpc servers (not mine) and I couldn't contact all folks who develop services.
What do you think about a new static variable in XmlRpc class like XmlRpc.encloseString : boolean. The default value need to be false to obtain the same working we have now.
With this we would be more flexible.
thank by advance, regards
The code could be : XmlRpc.java ----------- .../... else if (obj instanceof String) { if(XmlRpc.encloseString) { startElement("string"); chardata(obj.toString()); endElement("string"); } else { chardata(obj.toString()); } } else if (obj instanceof Integer) { .../... }