fault) { return false; } else { // Check for errors $err = $client->getError(); if ($err) { return false; } } return true; } // Pull in the NuSOAP code require_once('nusoap.php'); // Create the client instance $client = new nusoap_client('http://www.kayaposoft.com/enrico/ws/v1.0/?wsdl', true); // TODO: change this // Check for an error $err = $client->getError(); if ($err) { // Display the error die("Constructor error " . $err); } $client->soap_defencoding = 'UTF-8'; $client->decode_utf8 = false; ?>