2 date_default_timezone_set(
'GMT');
4 require_once(
'../../framework/constants.php');
5 require_once(CLASSES_ROOT .
'helper/Tools.php');
6 require_once(CLASSES_ROOT .
'CAbstractHandshaking.php');
7 require_once(CLASSES_APP_ROOT .
'CHandshaking.php');
11 $sInitMessage = file_get_contents(
'php://input');
12 $aInitMessage = @xml2array($sInitMessage);
13 echo (
new CHandshaking($aInitMessage))->SetHeader()->GetResponse();
15 catch (Exception $oException)
17 die($oException->getMessage());