public function send() { if ($client = new SoapClient($this->_webserviceURL)) { $client->soap_defencoding = 'UTF-8'; $client->decode_utf8 = false; foreach ($this->_fieldsList as $rootCase) { $params = $this->_getSimpleParamArray($rootCase['list']); $result = $client->WSI2_CreationEtiquette($params); $this->_parseResult($client, $result, $params, $rootCase['id_mr_selected']); } unset($client); Configuration::updateValue('MONDIALRELAY_CONFIGURATION_OK', true); } else { throw new Exception($this->_mondialrelay->l('The Mondial Relay webservice is not currently reliable', $this->class_name)); } }