<?php try { $url = "http://localhost/ProjetWSLocation/wsdl_function.php?wsdl"; $client = new SoapClient($url); //$client->decode_utf8 = false; echo $client->getClient(); } catch (Exception $exception) { echo "Connection error: " . $exception->getMessage(); }