How to add new method?

Events happening in the community are now at Drupal community events on www.drupal.org.
mssjsg's picture

Dear all,

I want to add a custom to the node service. I try to create a method to return an array of nodes according to the type of nodes.

I modify node_service.module and node_service.inc.

However when I try to test it in services admin page.
It returned this error message:

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'node_service_select' was given in C:\Documents and Settings\Administrator\walkstreet_web\modules\services\services.module on line 345.

I would like to know what makes this error?

Services

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: