On utilise le WS2
This commit is contained in:
parent
33c99c391c
commit
48516d6efa
@ -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']
|
||||
|
@ -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']
|
||||
|
@ -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É DE L'ENTREPRISE</h1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user