Пример #1
0
 /**
  * getSoapClient
  * @return SoapClient
  */
 function getSoapClient()
 {
     //$client = new SoapClient($this->api_url, array('proxy_host' => "127.0.0.1",'proxy_port' => '8888','encoding'=>'utf8'));
     $client = new \SoapClient(BDataHelper::getSmsConfig('api'), array('encoding' => BDataHelper::getSmsConfig('charset')));
     return $client;
 }