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

Définir un foction de Serveur SOAP

serveur
{filelink=15355}

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

  function getMessage($prefix) {
    return uniqid($prefix);
  }

  $soap_serveur = new SoapServer('guid.wsdl');
  $soap_serveur->addFunction('getMessage');
  $soap_serveur->handle();
?>

No comments yet.

Leave a Comment