Issue while adding arguments I am adding one argument to the custom service named "streamtype" as follows

function CMODULE_services_resources() {
  $api = array(
    'oidar' =&gt; array(
      'operations' =&gt; array(
        'retrieve' =&gt; array(
          'help' =&gt; 'Retrieves All oidar operations',
          'callback' =&gt; '_CMODULE_blog_retrieve',
          'access callback' =&gt; 'user_access',
          'access arguments' =&gt; array('access content'),
          'access arguments append' =&gt; FALSE,
          'args' =&gt; array(
            array(
              'name' =&gt; 'fn',
              'type' =&gt; 'string',
              'description' =&gt; 'Function to perform',
              'source' =&gt; array('path' =&gt; '0'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),
            array(
              'name' =&gt; 'uid',
              'type' =&gt; 'int',
              'description' =&gt; 'Number of latest items to get',
              'source' =&gt; array('param' =&gt; 'uid'),
              'optional' =&gt; TRUE,
              'default' =&gt; '1',
            ),
            array(
              'name' =&gt; 'nid',
              'type' =&gt; 'int',
              'description' =&gt; 'Posts from the last number of days',
              'source' =&gt; array('param' =&gt; 'nid'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),
            array(
              'name' =&gt; 'counter',
              'type' =&gt; 'int',
              'description' =&gt; 'counter view',
              'source' =&gt; array('param' =&gt; 'counter'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),
            array(
              'name' =&gt; 'id',
              'type' =&gt; 'int',
              'description' =&gt; 'node id for display',
              'source' =&gt; array('param' =&gt; 'id'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),
            array(
              'name' =&gt; 'view',
              'type' =&gt; 'int',
              'description' =&gt; 'view counter',
              'source' =&gt; array('param' =&gt; 'view'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),
            array(
              'name' =&gt; 'title',
              'type' =&gt; 'string',
              'description' =&gt; 'title',
              'source' =&gt; array('param' =&gt; 'title'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),
            array(
              'name' =&gt; 'body',
              'type' =&gt; 'string',
              'description' =&gt; 'body',
              'source' =&gt; array('param' =&gt; 'body'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),
            array(
              'name' =&gt; 'type',
              'type' =&gt; 'string',
              'description' =&gt; 'type',
              'source' =&gt; array('param' =&gt; 'type'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),  
            array(
              'name' =&gt; 'iso3',
              'type' =&gt; 'string',
              'description' =&gt; 'Country',
              'source' =&gt; array('param' =&gt; 'iso3'),
              'optional' =&gt; TRUE,
              'default' =&gt; '',
            ),
            array(
              'name' =&gt; 'streamtype',
              'type' =&gt; 'string',
              'description' =&gt; 'Stream Type',
              'source' =&gt; array('param' =&gt; 'streamtype'),
              'optional' =&gt; TRUE,
              'default' =&gt; '0',
            ),
          ),
        ),
      ),
    ),
  );

  return $api;
}


But I am not getting streamtype (getting empy) when I try to access that further in code. Please help.
Well, I found the answer after trying many things. I just cleared the cache and it worked!

I hope this helps somebody else.

Thanks,
Kunal