On utilise le WS2

This commit is contained in:
Michael RICOIS 2011-02-16 11:08:20 +00:00
parent 33c99c391c
commit 48516d6efa
3 changed files with 8 additions and 9 deletions

View File

@ -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']

View File

@ -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']

View File

@ -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);
}
?>
<div id="center">
<h1>IDENTIT&Eacute; DE L'ENTREPRISE</h1>