Sorry if im doing this the wrong way but i hope this will help someone

To make actions from resources work:

file: soap_server.module
line: 212
$services_method_name = str_replace('_do_', '.', $method_name);

changed to

$services_method_name = str_replace(array('_do_', '_action_'), '.', $method_name);

otherwise $controller in services_controller_execute is NULL

CommentFileSizeAuthor
#1 soap_method_token.patch4.55 KBmarcus_clements

Comments

marcus_clements’s picture

StatusFileSize
new4.55 KB

This is fixed in the attached patch, which has been committed.
I've also updated the debug function to make the debug output easier to read.

marcus_clements’s picture

Status: Active » Needs review
marcus_clements’s picture

Status: Needs review » Closed (fixed)