Hi,
   i just found this problem during my work.
   When there is no arguments in the method, xmlrpc++ will not send the
<params></params> tag,
but the server side of xml-rpc use this "params" tag to do the lazy
initilialization of the method call's
parameter container -- an ArrayList.(line 90 of
org.apache.xmlrpc.parser.XmlRpcRequestParser), and
will cause a NPE.
the xmlrpc specification is say nothing about this(when there is no
arguments at all),
"If the procedure call has parameters, the <methodCall> must contain a
<params> sub-item. The
<params> sub-item can contain any number of <param>s, each of which has a
<value>.",
but i think if we move the lazy initailization of ArrayList, we can improve
interoperate.

Brs,

--
June Fang

Reply via email to