Do I need to install something other than the services module to make xml-rpc commands? Where do I place the xml-rpc services?

Comments

ZDavid’s picture

I'm using XML-RPC.Net for my desktop app, and I don't know what to put under [XmlRpcUrl("http://www.example.com/services/")]

markj’s picture

To set up a service, you need to create a module that instantiates http://api.drupal.org/api/function/hook_xmlrpc/6, which maps incoming methods to functions. Your service will then be available at http://yourdrupal.com/xmlrpc.php.

There's a whole chapter on XML-RPC in Pro Drupal Development. It explains all you need.

ZDavid’s picture

Thanks!

ZDavid’s picture

If I'm using the Services API do I still need to create an xmlrpc hook?

ZDavid’s picture

"Type 'XmlRpcProxycc4e43df-75a8-4a81-9b31-c53c94c25dfb' from assembly 'XmlRpcProxycc4e43df-75a8-4a81-9b31-c53c94c25dfb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is attempting to implement an inaccessible interface."

Where does that error come from?