#286 Issue with HTTPS - reviewed the fix implemented in [896]

SVN:trunk[931]
This commit is contained in:
Romain Quetiez
2010-10-28 12:55:51 +00:00
parent 0b95b3799e
commit 248cdcea8c
6 changed files with 8 additions and 8 deletions

View File

@@ -1873,7 +1873,7 @@ class TestSoap extends TestSoapWebService
global $aSOAPMapping;
// this file is generated dynamically with location = here
$sWsdlUri = 'http'.(empty($_SERVER['HTTPS']) ? '' : 's').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/../webservices/itop.wsdl.php';
$sWsdlUri = 'http'.(isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS']!='off') ? 's' : '').'://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].dirname($_SERVER['SCRIPT_NAME']).'/../webservices/itop.wsdl.php';
ini_set("soap.wsdl_cache_enabled","0");
$this->m_SoapClient = new SoapClient