9 ) exit;
$client = new SoapClient(null, array( 'trace' => 1,
'soap_version' => SOAP_1_1,
'location' => WEBSERVICE_URL,
'uri' => WEBSERVICE_URI,
'login' => $_SESSION['tabInfo']['login'],
'password' => $_SESSION['tabInfo']['password'],
));
$tabEntrep=array();
try {
$O = $client->getIdentite($siren, 0, false);
$tabEntrep=$O['result'];
} catch (SoapFault $fault) {}
//Retourner le tableau sous forme json
$tabEntrepD = htmlentitydecode_deep($tabEntrep);
$firephp->log($tabEntrepD, 'result');
echo json_encode($tabEntrepD);
?>