i believe <string> is the default, as defined by the xmlpc protocol.any
xmlrpc-compliant server will treat such data as 'string'.
David Oppenheimer wrote:
Hi. When I do the following
XmlRpcClient xmlrpc = new XmlRpcClient("...");
Vector params = new Vector();
params.add(new String("hello"));
xmlrpc.execute("function_name", params);
I notice that what goes out over the wire is
<param><value>hello</value></param>
instead of
<param><value><string>hello</string></value></param>
Note that if I replace "new String("hello"))" with "new Integer(5)" in
the above, then I get the correct text on the wire, namely
<param><value><int>5</int></value></param>
Does anyone know why the <string> tag is being dropped? This might
work if you're using the Apache XMLRPC server, but I'm using a
different server and it is rejecting this formatting since it is
expecting a string argument.
Thanks very much for any suggestions,
David
begin:vcard
fn:rich coco
n:coco;rich
org:Starback Communications, Inc.;Engineering
adr:;;29 Sawyer Rd;Waltham;MA;02453;USA
email;internet:[EMAIL PROTECTED]
title:Manager - Software Development
tel;work:781.736.1200 x165
x-mozilla-html:TRUE
url:http://www.starbak.com
version:2.1
end:vcard