Hi
I'm experimenting with Drupal 7 and Service 3.1 ..
We want to have some php code and Classes to interact with our service from Drupal 7..
We are using XMLRPC .. having some Good Classes using Zend.. But it's for Drupal 6 ..
I do not know how to find the new way of working with Service 3.1 at Drupal 7.
for example one of the Good Classes .. as in this link
http://wonderlandlabs.com/wll_drupal/drupal/services.html
the apikey there
public function call($method_name, $user_args = array()) {
// set vars for this connection
$nonce = $this->getUniqueCode("10");
$timestamp = (string) strtotime("now");
$required_args = array();
// now prepare a hash
$hash_parameters = array(
$timestamp,
$this->domain,
$nonce,
$method_name,
);
$hash = hash_hmac("sha256", implode(';', $hash_parameters), $this->kid);
But we still have the API Key $this->kid
This is all the Class .. I'm trying to have it work for Drupal 7.
<?php
/**
* This class adds drupal centric funtionality to the XMLRPC process.
* Its designed to handle custom features of the drupal site including
* the security key.
*
*/
class Wonderlandlabs_Service_Drupal {
/**
* the CLIENT DOMAIN - not a full url
* @var string