'urn:civicrm', 'soap_version' => SOAP_1_2, ) ); require_once 'CRM/Utils/SoapServer.php'; $crm_soap = new CRM_Utils_SoapServer(); /* Cache the real UF, override it with the SOAP environment */ $config = CRM_Core_Config::singleton(); $server->setClass('CRM_Utils_SoapServer', $config->userFrameworkClass); $server->setPersistence(SOAP_PERSISTENCE_SESSION); $server->handle();