services userpoints with xmlrpc server can't be linked by external device? I had searched the article, and i still can't figure out how to use services userpoints with xmlrpc.(My Environment drupal 7,Service 3.x, userpoints )

i read the readme in the userpoints module.

$result = xmlrpc($server_url, 'userpoints.points', $key, $uid, $points, $tid, $event, $description);


i wrote this code in the other sites,and tried to add/subtract the points.It doesn't work.

I tried function xmlrpc() in drupal API and follow the api rules, it doesn't work either.
drupal api function: xmlrpc($url, $args, $options = array())

the code i wrote:

$key='1234';// casually set
$uid=1;
$points=1;
$tid=18;
$event='event testing';
$description='description testing';
$result = xmlrpc('http://my.domain/userpoints-api/', array(
  'userpoints.points' =&gt; array($key, $uid,$points,$tid,$event,$description),
));
dpm($result);


$result is nothing.
Does anybody have the experience on this?
Thank you guys.
Please help me.

i check the access.log
i got the message belowed

210.65.11.209 - - [23/Aug/2013:15:49:50 +0800] "POST /userpoints-api/add HTTP/1.0" 200 767 "-" "Drupal (+drupal.org/)
I didn't test xmlrpc($server_url, 'userpoints.points', $key, $uid, $points, $tid, $event, $description) is worked or not.

Instead, I use POSTMAN extension from chrome store to post data to the userpoints service api endpoints path.




The userpoints alias must be filled, the data here is "pointss".
url:http:userdomain/userpoints_api/pointss method:POST
header: Content-type | application/xml
raw/xml



&lt;?xml version="1.0"?&gt;
&lt;methodCall&gt;
   &lt;methodName&gt;pointss.add&lt;/methodName&gt;
   &lt;params&gt;
     &lt;param&gt;
           &lt;name&gt;uid&lt;/name&gt;
           &lt;value&gt;&lt;int&gt;1&lt;/int&gt;&lt;/value&gt;
           &lt;name&gt;points&lt;/name&gt;
           &lt;value&gt;&lt;int&gt;170&lt;/int&gt;&lt;/value&gt;
           &lt;name&gt;tid&lt;/name&gt;
           &lt;value&gt;&lt;int&gt;18&lt;/int&gt;&lt;/value&gt;
           &lt;name&gt;operation&lt;/name&gt;
           &lt;value&gt;&lt;string&gt;test for operation&lt;/string&gt;&lt;/value&gt;
           &lt;name&gt;description&lt;/name&gt;
           &lt;value&gt;&lt;string&gt;test for description&lt;/string&gt;&lt;/value&gt;
           &lt;name&gt;entity_type&lt;/name&gt;
           &lt;value&gt;&lt;string&gt;node&lt;/string&gt;&lt;/value&gt;
           &lt;name&gt;entity_id&lt;/name&gt;
           &lt;value&gt;&lt;int&gt;1&lt;/int&gt;&lt;/value&gt;
     &lt;/param&gt;
   &lt;/params&gt;
&lt;/methodCall&gt;



Done.