Gestion d’erreur dans un Client SOAP

Author:


Download

<?php
  ini_set('soap.wsdl_cache_enabled', 'Off');

  $soap_client = new SoapClient('guid.wsdl');

  try {
    echo $soap_client->getGuid('PHP_');
  } catch (SoapFault $ex) {
    echo $ex->faultstring;
  }
?>

Leave a Reply

Your email address will not be published. Required fields are marked *


5 × = twenty five