diff --git a/www/html2pdf.php b/www/html2pdf.php index ed2ba727b..78132cbb8 100644 --- a/www/html2pdf.php +++ b/www/html2pdf.php @@ -18,7 +18,7 @@ if($nomFic == ''){ $client = new SoapClient(null, array( 'trace' => 1, 'soap_version' => SOAP_1_1, - 'location' => 'http://78.31.45.206/ws/', + 'location' => 'http://78.31.45.206/ws2/', 'uri' => 'http://78.31.45.206/', 'login' => $_SESSION['tabInfo']['login'], 'password' => $_SESSION['tabInfo']['password'] diff --git a/www/pages/fichier.php b/www/pages/fichier.php index cf734bfe0..275bccdb5 100644 --- a/www/pages/fichier.php +++ b/www/pages/fichier.php @@ -9,7 +9,7 @@ else $client = new SoapClient(null, array( 'trace' => 1, 'soap_version' => SOAP_1_1, - 'location' => 'http://78.31.45.206/ws/', + 'location' => 'http://78.31.45.206/ws2/', 'uri' => 'http://78.31.45.206/', 'login' => $_SESSION['tabInfo']['login'], 'password' => $_SESSION['tabInfo']['password'] diff --git a/www/pages/survliste.php b/www/pages/survliste.php index caa69aa3e..120ca6416 100644 --- a/www/pages/survliste.php +++ b/www/pages/survliste.php @@ -11,7 +11,6 @@ $client = new SoapClient(null, array( 'password' => $_SESSION['tabInfo']['password'] )); - isset($_REQUEST['nomFic'])? $nomFic = $_REQUEST['nomFic'] : $nomFic='' ; //Génération liste surveillance @@ -24,12 +23,12 @@ if ( strtolower($_SESSION['tabInfo']['login'])=='cnasea95' || ) $ref='*'; try { - $O = $client->getListeFichierSurv($_SESSION['tabInfo']['login'], $ref, $nomFic); - $tabFichier=$O['results']; - } catch (SoapFault $fault) { - require_once 'soaperror.php'; - processSoapFault($client,$fault,$tabInfo); - } + $O = $client->getListeFichierSurv($_SESSION['tabInfo']['login'], $ref, $nomFic); + $tabFichier=$O['results']; +} catch (SoapFault $fault) { + require_once 'soaperror.php'; + processSoapFault($client,$fault,$tabInfo); +} ?>

IDENTITÉ DE L'ENTREPRISE