--- soap_server.module Base (1.2.2.2.2.1)
+++ soap_server.module Locally Modified (Based On 1.2.2.2.2.1)
@@ -87,6 +87,9 @@
 function soap_server_server() {
   // Load soap library
   if (@include_once(realpath(soap_server_nusoap_path()))) {
+    // Set appropiate headers: charset and xml content #583506
+    if ( ($_GET['q'] == 'services/soap') && ($_SERVER["REQUEST_METHOD"] == "POST") ) {
+      drupal_set_header('Content-Type: text/xml; charset=utf-8');
+    }
     // Launch the server
     return soap_server();
   }
