diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index 42d475ff..78078734 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -104,7 +104,7 @@ class ServiceController extends Zend_Controller_Action // --- Get hostname - add compatibility with Reverse Proxy $hostName = $request->getHttpHost(); $hostScheme = $request->getScheme(); - $fichierWsdl = $hostScheme . '-' . $hostName . '-' . $fichierWsdl; + $fichierWsdl = $hostName . '-' . $hostScheme . '-' . $fichierWsdl; $c = Zend_registry::get('config'); $wsdlPath = $c->profil->path->shared . '/wsdl'; @@ -119,7 +119,6 @@ class ServiceController extends Zend_Controller_Action || isset($_GET['wsdl-auto'])) { // --- Définition du webservice $wsdl = new Zend_Soap_AutoDiscover(); - $wsdl->setUri($hostScheme . '://' . $hostName); $wsdl->setComplexTypeStrategy('Zend_Soap_Wsdl_Strategy_ArrayOfTypeSequence'); $wsdl->setOperationBodyStyle(array('use' => 'literal')); $wsdl->setBindingStyle(array('style' => 'document')); diff --git a/library/WsScore/ServicesConfig.php b/library/WsScore/ServicesConfig.php index 03b534a0..9cafc0db 100644 --- a/library/WsScore/ServicesConfig.php +++ b/library/WsScore/ServicesConfig.php @@ -25,7 +25,6 @@ return array( 'gestion' => array( 'actif' => true, 'versions' => array( - '0.4' => array( 'actif' => true, 'defaut' => 'beta' ), '0.3' => array( 'actif' => true, 'defaut' => true ), ), 'idClient' => array(1),