diff --git a/library/Scores/WsScores.php b/library/Scores/WsScores.php index 63bc0098..1f05fccd 100644 --- a/library/Scores/WsScores.php +++ b/library/Scores/WsScores.php @@ -51,6 +51,24 @@ class WsScores } } + /** + * getDataCSV + * @param string $key + */ + public function getDataCSV($key) + { + $params = new stdClass(); + $params->key = $key; + try { + $client = $this->loadClient('exporter'); + $reponse = $client->getDataCSV($params); + return $reponse->getDataCSVResult; + } catch (SoapFault $fault) { + $this->soaperror(__FUNCTION__, $fault, $client->__getLastRequest(), $client->__getLastResponse()); + return false; + } + } + /** * getInfosLogin * @param string $login diff --git a/library/Scores/webservices.ini b/library/Scores/webservices.ini index 4cf242b4..776d847c 100644 --- a/library/Scores/webservices.ini +++ b/library/Scores/webservices.ini @@ -5,6 +5,8 @@ webservices.entreprise.wsdl = "http://webservice-2.1.sd.dev/entreprise/v0.4?wsdl webservices.entreprise.options.soap_version = SOAP_1_2 webservices.gestion.wsdl = "http://webservice-2.1.sd.dev/gestion/v0.1?wsdl-auto" webservices.gestion.options.soap_version = SOAP_1_2 +webservices.exporter.wsdl = "http://webservice-2.1.sd.dev/exporter/v0.1?wsdl-auto" +webservices.exporter.options.soap_version = SOAP_1_2 [sdsrvdev01] webservices.interne.wsdl = "http://webservice-2.1.sd.lan/interne/v0.3?wsdl-auto" @@ -13,6 +15,8 @@ webservices.entreprise.wsdl = "http://webservice-2.1.sd.lan/entreprise/v0.4?wsdl webservices.entreprise.options.soap_version = SOAP_1_2 webservices.gestion.wsdl = "http://webservice-2.1.sd.lan/gestion/v0.1?wsdl-auto" webservices.gestion.options.soap_version = SOAP_1_2 +webservices.exporter.wsdl = "http://webservice-2.1.sd.lan/exporter/v0.1?wsdl-auto" +webservices.exporter.options.soap_version = SOAP_1_2 [sd-25137] webservices.interne.wsdl = "http://wse.scores-decisions.com:8081/interne/v0.3?wsdl" @@ -21,6 +25,8 @@ webservices.entreprise.wsdl = "http://wse.scores-decisions.com:8081/entreprise/v webservices.entreprise.options.soap_version = SOAP_1_2 webservices.gestion.wsdl = "http://wse.scores-decisions.com:8081/gestion/v0.1?wsdl" webservices.gestion.options.soap_version = SOAP_1_2 +webservices.exporter.wsdl = "http://wse.scores-decisions.com:8081/exporter/v0.1?wsdl" +webservices.exporter.options.soap_version = SOAP_1_2 [celeste] webservices.interne.wsdl = "http://wse.scores-decisions.com:8081/interne/v0.3?wsdl" @@ -29,3 +35,5 @@ webservices.entreprise.wsdl = "http://wse.scores-decisions.com:8081/entreprise/v webservices.entreprise.options.soap_version = SOAP_1_2 webservices.gestion.wsdl = "http://wse.scores-decisions.com:8081/gestion/v0.1?wsdl" webservices.gestion.options.soap_version = SOAP_1_2 +webservices.exporter.wsdl = "http://wse.scores-decisions.com:8081/exporter/v0.1?wsdl" +webservices.exporter.options.soap_version = SOAP_1_2