ok, i've been having a look at this and I think actually all that needs to happen is the parent_type and parent fields of mdl_mnet_rpc need to be changed. Here's the distinct value of those fields now:
parent_type | parent
auth | mnet
enrol | mnet
portfolio | mahara
repository | mahara
repository | remotemoodle
The db/mnet.php array would need to still organise methods by "service" - eg auth/mnet would look like:
$publishes = array(
'sso_idp' => array(
'apiversion' => 1,
'methods' => array(
There might be a bit of mucking around though because at the moment we don't have a standard contract library file for plugins - eg auth has auth/mnet/auth.php and enrol has enrol/mnet/enrol.php and portfolio uses lib.php and questiontypes use questiontype.php etc.
This has to be specified in the xmlrpc client call - eg
though, so it shouldn't be a problem for the xmlrpc server, it's just a pity that it's not standardised.