From 0012899b5fbeacb0ea7f4e738f8dfb52ca2b8ebc Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 23 Mar 2017 19:39:04 +0100 Subject: [PATCH 1/3] Suppression service gestion v0.4 --- library/WsScore/ServicesConfig.php | 1 - 1 file changed, 1 deletion(-) 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), From 8644465a17e3e7e2d11e75b9635eee35e7894cd5 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 23 Mar 2017 20:53:51 +0100 Subject: [PATCH 2/3] Remove setUri --- application/controllers/ServiceController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index 42d475ff..eb8e815c 100644 --- a/application/controllers/ServiceController.php +++ b/application/controllers/ServiceController.php @@ -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')); From c3de83ff538d0da07c5ea327da4148a7920387a9 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 23 Mar 2017 20:55:40 +0100 Subject: [PATCH 3/3] Change wsdl filename, pas de http en premier --- application/controllers/ServiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/ServiceController.php b/application/controllers/ServiceController.php index eb8e815c..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';