public function __construct()
 {
     global $config;
     if (isset($_SESSION['nusoap']['BADMIN'])) {
         $this->BADMIN = unserialize($_SESSION['nusoap']['BADMIN']);
     } else {
         $this->BADMIN = new nusoap_client($config['BADMIN'], true);
         $this->BADMIN->login("rosatber", 1, "5546", "21.21.21.1");
         $_SESSION['nusoap']['BADMIN'] = serialize($this->BADMIN);
     }
     parent::__construct();
     $this->principalOrchestraWS =& $this->BADMIN;
 }
 public function __construct()
 {
     global $config;
     if (isset($_SESSION['nusoap']['FADMIN'])) {
         $this->FADMIN = unserialize($_SESSION['nusoap']['FADMIN']);
         //en attendant
         $this->FADMIN->setIdFundation(2);
     } else {
         header('Location: index.php');
         //A supprimer pour les tests. Enlever les // si on veut pas utiliser la connexion standard
         //	$this->FADMIN = new nusoap_client($config['FADMIN'], true);
         //	$this->FADMIN->login("rosatber", 1, "5546", "21.21.21.1");
         //	$this->FADMIN->setIdFundation(2);
         //	$_SESSION['nusoap']['FADMIN'] = serialize($this->FADMIN);
     }
     parent::__construct();
     $this->principalOrchestraWS =& $this->FADMIN;
 }
示例#3
0
 public function __construct($wsdl_name)
 {
     parent::__construct($wsdl_name);
 }
示例#4
0
 public function __construct()
 {
     parent::__construct('BADMIN');
 }