コード例 #1
0
ファイル: Utils.php プロジェクト: technomagegithub/colb2b
 /**
  * Gets a SOAP client
  * @return \Zend_Soap_Client
  */
 public static function getSoapClient()
 {
     $ws_endpoint = Mage::getStoreConfig('unityreports/general/ws_endpoint');
     // inizializza client SOAP
     if (is_null(self::$_soapClient)) {
         self::$_soapClient = new Zend_Soap_Client($ws_endpoint . "?wsdl");
         self::$_soapClient->setWsdlCache(1);
     }
     return self::$_soapClient;
 }