Ejemplo n.º 1
0
 /**
  * Constcutor
  *
  * @param string $username Username of the currently logged in user
  * @param string $userType Type of user logged in. Valid values defined as class constants in SOAP.php
  */
 protected function __construct($username, $userType)
 {
     parent::__construct($username, $userType);
     ini_set('soap.wsdl_cache_enabled', 0);
     $this->client = new SoapClient('file://' . PHPWS_SOURCE_DIR . WSDL_FILE_PATH, array('trace' => true, 'connection_timeout' => 30));
 }