So far I have managed to make it so that there are no exceptions, but I do get a fatal error because the execution time of 30 seconds was exceeded.
Here is my code:
Code: Select all
<?php
try {
$client = new SoapClient(null, array('location' => 'http://localhost:8080/nuSoap/samples/kmq-4.php','uri' => '****'));
$result = $client->__soapCall('GetItemQuantityOnHand', array(new SoapParam('SB3510/BK', '001')));
printf("Result = %s\n", $result);
}
catch (Exception $e)
{
printf("Message = %s\n",$e->__toString());
}
?>