Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Gestion d’erreur dans un Client SOAP


{filelink=15353}

<?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;
  }
?>

No comments yet.

Leave a Comment