setDebug(2); # ask the client to send the message to the server $response = $client->send($message); # handle the response if (!$response->faultCode()) { print "
" . htmlentities($response->serialize()). "