Loading view data using XMLRPC I need to load data from a Drupal View into an external (non-Drupal) site using PHP.

I'm using XML-RPC for PHP.

I'm able to connect to the system and login, but I'm unable to retrieve a View. I get the following error:
HTTP/1.1 401 Unauthorized: Missing required argument view_name

I haven't been able to find documentation on format of the RPC call required for views and how the session id is passed. Any pointers would be greatly appreciated. Code below. The name of the view I'm trying to get is "configurations".

require_once ("xmlrpc.inc");

// SYSTEM.CONNECT
$f = new xmlrpcmsg('system.connect');
$c = new xmlrpc_client($XMLRPC_SERVER);
$r = &amp;$c -&gt; send($f);

// SYSTEM.CONNECT SUCCESS
if (!$r -&gt; faultCode()) {

    print('system connected...');
    $v = php_xmlrpc_decode($r -&gt; value());
    $system_sessid = htmlspecialchars($v["sessid"]);

    // USER.LOGIN
    $f_login = new xmlrpcmsg('user.login', array(php_xmlrpc_encode('USERNAME'), php_xmlrpc_encode('PASSWORD')));
    $c_login = new xmlrpc_client($XMLRPC_SERVER);
    $c_login -&gt; setDebug(1);
    $r_login = &amp;$c_login -&gt; send($f_login);

    // USER.LOGIN SUCCESS
    if (!$r_login -&gt; faultCode()) {

        $v = php_xmlrpc_decode($r_login -&gt; value());
        $sessid = htmlspecialchars($v["sessid"]);
        print('logged in...' . $sessid);

            $f_configs = new xmlrpcmsg('views.retrieve', array(php_xmlrpc_encode('configurations-xmlrpc')), array(php_xmlrpc_encode('configurations-xmlrpc')), array(php_xmlrpc_encode('configurations-xmlrpc')));

            $c_configs = new xmlrpc_client($XMLRPC_SERVER);
            $c_configs -&gt; setDebug(1);
            $r_configs = &amp;$c_configs -&gt; send($f_configs);

            if (!$r_configs -&gt; faultCode()) {
                print('got configs');
            } else {
                print('error getting configs...');
            }

        } else {
            print('error logging in...');
        }
} else {
    print('error connecting to system');
}
I think you forgot to send the the view_name that is a non-optinal argument. Check the code of the resource:

'view_name' =&gt; array(
  'name' =&gt; 'view_name',
  'type' =&gt; 'string',
  'description' =&gt; 'The name of the view to get.',
  'source' =&gt; array('path' =&gt; '0'),
  'optional' =&gt; FALSE,
),