Does anyone know a module which would act as a client and allow drupal sites to share data with each other via services?

Comments

gdd’s picture

Status: Active » Closed (fixed)

You can use the Drupal core xmlrpc() function as a XML-RPC client for Services.

http://api.drupal.org/api/function/xmlrpc/6

There are many examples in the Services handbook

http://drupal.org/handbook/modules/services

adub’s picture

So would I be right in thinking I could write a module which would only need to deal with storing and encoding the API key and hand off to xmlrpc() for the request? Maybe a useful extension for feedapi?

gdd’s picture

Yep that's all you would need to do. There is some sample code for doing exactly this in the handbook.

Elementica’s picture

Version: 6.x-0.9 » 7.x-3.1
Status: Closed (fixed) » Active

What about wsclient and s-client? Anyone tested them?

I'm looking for a client with an UI integrated in the admin as sites will be managed by an operator, so I cannot use custom php without an UI...

First one stated above is in "beta": if no feedback will be provided I'll test it on my own... thank you.

adub’s picture

Have you looked at the clients project?

Elementica’s picture

As stated I need something for latest D7... the two modules I've reported may be useful, but I don't know yet...

joachim’s picture

I don't have any concrete plans for upgrading http://drupal.org/project/clients to D7. But it shouldn't take too much work to provide a patch for the XMLRPC side of things; there's very little of it that interacts with things in Drupal core that would have changed for D7.

kylebrowning’s picture

Status: Active » Closed (fixed)