On ajoute de service Exporter

This commit is contained in:
Michael RICOIS 2011-11-02 11:12:59 +00:00
parent 9921a576aa
commit 2b880adbf4
2 changed files with 26 additions and 0 deletions

View File

@ -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

View File

@ -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