protected static function getConf() { //从ral/services/uuap.conf中读取UUAP UIC的链接字符串与端口 if (empty(self::$arrConf)) { self::$arrConf = Bd_Conf::getConf('ral/services/uuap/CamelConfig/ServiceConfig/Local/Service'); if (self::$arrConf === false) { Bd_Log::warning('Get configure from ral/services/uuap.conf failed', self::GET_CONFIG_FAILED, null); self::$arrConf = null; self::$errCode = self::GET_CONFIG_FAILED; return false; } //裁剪掉关于SSO服务的配置 foreach (self::$arrConf as $index) { if ($index['Name'] === 'uuapUIC') { self::$arrConf = $index; } } self::$soapClientInitPreLink = 'http://' . self::$arrConf['Server'][0]['Hostname'] . ':' . self::$arrConf['DefaultPort'] . '/webservice/'; } return true; }