Warning: array_walk_recursive() expects parameter 1 to be array, boolean given in C:\wamp\www\lib\t1.php on line
<?php require_once '../lib/nusoap.php'; $wsdl = "http://www.tempsite.com/abcservice/abc.asmx?wsdl"; $namespace = "http://www.tempsite.com/abcservice/"; $s = new nusoap_client($wsdl,true); $param = array('date' => '21-Feb-2012', 'type' => 'DATE'); $var = $s->call('GetDataFromServices', array('parameters' => $param['date'],$param['type'])); print_r($var); //print_r(array_values($var)); function test_print($item, $key) { echo "$key holds $item\n"; } array_walk_recursive($var, 'test_print'); echo "Hi"; //print_r(array_values($new_array)); ?>
$s->call( ...
print_r($var)
false
$s->call
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)