Hi,
I have made a AMF webservice and are trying to pass my own arguments from Flash(Pinta) to my service. I have used this http://drupal.org/node/783460 to help define my arguments to my method but Flash tells me that my method expects 0 arguments instead of the 4 arguments I have defined.

'args' => array(
array(
'name' => 'uid',
'type' => 'int',
'description' => 'The id of the user',
'source' => array('path' => '0'),
'optional' => FALSE,
),
array(
'name' => 'toolid',
'type' => 'int',
'description' => 'The note data object',
'source' => array('path' => '1'),
'optional' => FALSE,
),
array(
'name' => 'x',
'type' => 'int',
'description' => 'The note data object',
'source' => array('path' => '2'),
'optional' => FALSE,
),
array(
'name' => 'y',
'type' => 'int',
'description' => 'The note data object',
'source' => array('path' => '3'),
'optional' => FALSE,
),
),

I am not sure about my usage of the "source" field! Is this right?
Where should I look for errors in this scenario?

Regards
Lars Nielsen