function sendDataWebService($data) { ini_set("soap.wsdl_cache_enabled", "0"); $url_webservices = "https://webservice.elastix.org/modules/installations/webservice/registerWSDL.wsdl"; try { $client = new SoapClient($url_webservices); $content = $client->saveInstallation($data); return $content; } catch (SoapFault $e) { return null; } }