Exemplo n.º 1
0
 /**
  * Initialize SOAP client
  *
  * @param string $urlWsdl
  * @return \nusoap_client
  */
 protected function setClientSoap($urlWsdl)
 {
     $client = parent::setClientSoap($urlWsdl);
     if ($this->enableProxy == true) {
         $client->proxyhost = $this->proxyHost;
         $client->proxyport = $this->proxyPort;
         $client->proxyusername = $this->proxyUsername;
         $client->proxypassword = $this->proxyPassword;
     }
     return $client;
 }