"); require_once('nusoap.php'); // Create the client instance $client = new soapclient2('http://jet-hits.com/webservice/Update.php?wsdl', true); print_r("Nusoap client1
"); $err = $client->getError(); if ($err) { // Display the error echo '

Constructor error

' . $err . '
'; // At this point, you know the call that follows will fail } print_r("Nusoap client2
"); $result = $client->call('CheckForUpdate', array('97A9A2C6CB0')); if ($err) { // Display the error print_r('

Constructor error

' . $err . '
'); // At this point, you know the call that follows will fail } // Display the result print_r("Result: " . $result); // Display the request and response echo '

Request

'; echo '
' . htmlspecialchars($client->request, ENT_QUOTES) . '
'; echo '

Response

'; echo '
' . htmlspecialchars($client->response, ENT_QUOTES) . '
'; // Display the debug messages echo '

Debug

'; echo '
' . htmlspecialchars($client->debug_str, ENT_QUOTES) . '
'; ?>