The spec for XMLRPC suggests that parameters are not required for RPCs.  The Apache 
XMLRPC library seems to require parameters, no matter what.  There are some RPCs I'd 
like to cleanup in my server code.  Some of my RPCs do not need a parameter, but 
currently take a parameter because XmlRpcClient is incapable of handling a null 
parameter vector.  Am I reading the spec incorrectly?  Is there a way to issue an RPC 
without sending parameters?  I could modify the XMLRPC source to force it, but that 
doesn't seem like a very elegant solution.

"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>. "

http://xmlrpc.org/spec

- James


Reply via email to