Bonjour
on m'a confié une tache de modification d'un fichier PHP.
Lors que j'execute le script j'ai un message de ce style :
Warning: SoapClient::__construct() expects parameter 2 to be array, string given in /apps/Nagios/share/Nagios2Smart/WebservicetestClient.php on line 16
Fatal error: Uncaught SoapFault exception: [Client] SoapClient::__construct() [<a href='function.SoapClient---construct'>function.SoapClient---construct</a>]: Invalid parameters in /apps/Nagios/share/Nagios2Smart/WebservicetestClient.php:16 Stack trace: #0 /apps/Nagios/share/Nagios2Smart/WebservicetestClient.php(16): SoapClient->__construct('http://sl00f015...', 'wsdl') #1 /apps/Nagios/share/Nagios2Smart/WebservicetestClient.php(92): call_web_sevice_function('EZV_CreateReque...', Array, 'http://sl00f015...') #2 /apps/Nagios/share/Nagios2Smart/WebservicetestClient.php(581): ClientWSCreateRequest('jf15bgsopkeepmi...', '50004', 'ZZ-NAGIOS', 'SMARTIES', '', 'INT006', '', '', '', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '7', '', '', '', '2167', '', '', 'http://sl00f015...') #3 {main} thrown in /apps/Nagios/share/Nagios2Smart/WebservicetestClient.php on line 16
Je n'y connais rien du tout et ca me prend la tête. Si quelqu'un peut m'aider en m'expliquant d'ou viendrait le problème.
Merci à toutes les ames charitables.
Sylvain