Hello,
I use nusoap for my application. Almost everything works fine.
The only problem is that I want to get the size of my response-array. I discovered that earlier received data does not delete itself. So the response array keeps increasing!!
Question: How to delete the earlier received data in the response-array, because once it will crash?
My code:
<?php
require_once('nusoap.php');
$message= "****your message****";
$param = array('****message name*****' => $name);
$wsdl = "*****your wsdl*****";
$client = new soapclient($wsdl,true);
$response = $client->call('***your function****', $param);
$result = sizeof($response['****answername****']);
echo $result; //THIS KEEPS INCREASING!!!!!!!!
?>
|