I need to get the way to comsume the views.getViews for other aplication

Marlon0125 - May 20, 2008 - 04:52

I need to get the way to comsume the views.getViews for other aplication, I mean
I have a client page , and i want to conect by nusoap to the soapserver module of drupal to call a view
i have that

<?php
require_once('nusoap/nusoap.php');
$soap_client = new soapclient('http://localhost/marlon/index.php?wsdl');
$array=array();
$result = array();

$array["view_name"] = 'get_all_avisos';
$array["fields"] = array('title');
$array["args"] = array('Intranet');


$result=$soap_client->call('views.getView',$array);
var_export($result);
?>

but do not work
Help meeeeee

thank....

 
 

Drupal is a registered trademark of Dries Buytaert.