Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->reqBo = new CalemReqBo();
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->schedBo = new CalemSchedBo();
 }
 public function __construct()
 {
     parent::__construct();
     $this->inOrderGenBo = new CalemInOrderGenBo();
 }
Example #4
0
 public function __construct()
 {
     parent::__construct();
     $this->dbo = new CalemDbo();
 }
Example #5
0
require_once _CALEM_DIR_ . 'server/conf/calem.php';
//Configuration
require_once _CALEM_DIR_ . 'server/conf/soap_map.php';
//Soap mapping
require_once _CALEM_DIR_ . 'server/include/log4php/LoggerManager.php';
//Logger
require_once _CALEM_DIR_ . 'server/include/core/CalemSoapRequest.php';
require_once _CALEM_DIR_ . 'server/include/util/CalemHttpHelper.php';
//Must have PEAR SOAP on the path
require_once 'SOAP/Parser.php';
//Disable browser side cache
header('Cache-Control: no-cache');
//Start handling the request.
$logger =& LoggerManager::getLogger('CalemSoapService');
$postData = CalemHttpHelper::getPostData();
$calemSoapRequest = new CalemSoapRequest();
if ($logger->isInfoEnabled()) {
    $logger->info("acceptedEncoding=" . $_SERVER['HTTP_ACCEPT_ENCODING'] . ", Received a post request=" . $postData);
}
if (!$postData) {
    if ($logger->isDebugEnabled()) {
        $logger->debug("Invalid post data.");
    }
    $calemSoapRequest->sendFault(CALEM_SF_NO_POSTDATA);
}
//Processing postData
$parser =& new SOAP_Parser($postData);
$request_headers = $parser->getHeaders();
if ($request_headers) {
    if (!is_a($request_headers, 'SOAP_Value')) {
        $calemSoapRequest->sendFault(CALEM_SF_INVALID_HEADER);
Example #6
0
 public function __construct()
 {
     parent::__construct();
     $this->inTranBo = new CalemInTranBo();
 }
Example #7
0
 public function __construct()
 {
     parent::__construct();
     $this->poBo = new CalemPoBo();
 }
Example #8
0
 public function __construct()
 {
     parent::__construct();
     $this->budgetBo = new CalemBudgetBo();
 }
Example #9
0
 public function __construct()
 {
     parent::__construct();
 }