Skip to content
Snippets Groups Projects

Hotline#13544 Compatibilité Script Monitoring Web Service Aloes Avec Php5.3

Compare and
+ 16
16
Preferences
Compare changes
+ 16
16
@@ -3,34 +3,34 @@ try {
$id_notice="2044709";
$url = "http://10.200.3.30:80/websrvaloes/serviceRecherche.asmx?WSDL";
$soap_client= new SoapClient($url,["trace" => 1]);
$soap_client= new SoapClient($url,array("trace" => 1));
$result = $soap_client->__soapCall("OuvrirSession", ["OuvrirSession" => [
"Param" => [
$result = $soap_client->__soapCall("OuvrirSession", array("OuvrirSession" => array(
"Param" => array(
"NomMachine" => "INTERNET",
"ListeServeurs" => [[ "BasesServeurs"=> [],"NomServeur" => "INTERNET"]]
]
]
]
"ListeServeurs" => array(array( "BasesServeurs"=> array(),"NomServeur" => "INTERNET"))
)
)
)
);
$guid=$result->OuvrirSessionResult->GUIDSession;
$notice=$soap_client->__soapCall("RecupererNotice", ["RecupererNotice" => [
"Param" => [
$notice=$soap_client->__soapCall("RecupererNotice", array("RecupererNotice" => array(
"Param" => array(
"RangNotice" => 1,
"FondsEnPret" => true,
"Affichage" => [ "NiveauAffichage" => 0],
"Affichage" => array( "NiveauAffichage" => 0),
"GUIDSession" => $guid,
"NumNotice" => $id_notice,
]
]
]
)
)
)
);
$soap_client->__soapCall("FermerSession", ["FermerSession" => [
"Param" => [
$soap_client->__soapCall("FermerSession", array("FermerSession" => array(
"Param" => array(
"GUIDSession" => $guid
]]]);
))));
if ($notice->RecupererNoticeResult->Notice->NumNotice==$id_notice)
{