I've created a signature that looks like this:<br><br>signature' =>
array(array($xmlrpcArray, $xmlrpcInt, $xmlrpcInt, $xmlrpcString,
$xmlrpcInt, $xmlrpcInt))),<br><br>and set $GLOBALS['xmlrpc_null_extension']=true
to enable null-value parameters.<br><div id=":5g" class="ii gt">
<br>I would like to fill only some of the parameteres. So I try to pass
null values to the method. But xml-rpc says that null can't be passed to
a no-nil parameter? What's the use for null parameteres then?<br><br>
It seems that I need to make an empty signature to be able to pass
variable number of parameteres? But I would prefer a signature that
validates the input.<br><br>So in short: Is it really not legal to pass
nil values to a non-nil signature parameter?<br>
<br>Thanks in advance.<br>Barsum<br><br><br><b>My request:<br></b><br><xml><br><methodCall><br>
<methodName>gymlog.getExercises</methodName> <br>
<params><br><param><br><value><br>
<int>62</int> <br> </value><br> </param><br><param><br><value><br>
<int>2</int> <br> </value><br> </param><br>
<b><param><br><value><br> <nil /> <br>
</value><br> </param><br></b><param><br><value><br>
<int>0</int> <br> </value><br> </param><br><param><br>
<value><br> <int>10</int> <br> </value><br>
</param><br> </params><br> </methodCall><br></xml><br><br><b>The
response:<br></b><br><?xml version="1.0"?><br>
<methodResponse><br><fault><br><value><br><struct><member><name>faultCode</name><br><value><int>15</int></value><br></member><br><member><br><name>faultString</name><br>
<value><string>Invalid request payload found not-xmlrpc xml
element NIL</string></value><br></member><br></struct><br></value><br></fault><br></methodResponse></div>