|
@@ -76,7 +76,7 @@ function WSHelperVerifyKey($params) {
|
|
|
|
|
|
$server = new soap_server();
|
|
|
|
|
|
-
|
|
|
+$server->soap_defencoding = 'UTF-8';
|
|
|
|
|
|
|
|
|
$server->configureWSDL('WSRegistration', 'urn:WSRegistration');
|
|
@@ -5370,4 +5370,14 @@ function WSUserSubscribedInCourse ($params)
|
|
|
|
|
|
|
|
|
$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : '';
|
|
|
+
|
|
|
+if (isset($_configuration['registration.soap.php.decode_utf8'])) {
|
|
|
+ if ($_configuration['registration.soap.php.decode_utf8']) {
|
|
|
+ $server->decode_utf8 = true;
|
|
|
+ } else {
|
|
|
+ $server->decode_utf8 = false;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
$server->service($HTTP_RAW_POST_DATA);
|
|
|
+
|