|
From: Jean-Philippe B. <je...@fr...> - 2013-08-20 08:56:00
|
Hello
I use Mantis BT 121 and would like to query the database from another
machine to get the full list of the defects
To do this, i use a web service, with soapclient
My problem is with the php function mc_filter_get() which returns some
data but only 4 ! I have much more open defect in my working database
here is my simple php code :
<?php
require_once('library/nusoap/nusoap.php');
$username = 'myuser';
$password = 'mypassword';
$endpoint =
"https://novahpc.frec.bull.fr/mantis-default/mantis/api/soap/mantisconnect.php";
$c = new SoapClient($endpoint);
$r = $c->call('mc_filter_get',array($username, $password, 6));
foreach ( $r as $k => $v )
printf( "<p>id: <b>%s</b></p>" , $v[ 'id' ] ) ;
print_r($r);
printf( "<p><br><br><br>Taille : %s<br><br><br></p>" , count( $r ) ) ;
?>
and i get only four items in my array
Any suggestions would be greatly appreciated
Cheers
Jean-Philippe
|