Replace SOAP-ENV with soap as soap-envelope ns prefix

This commit is contained in:
Gianluigi 'cocciagialla' Mammarella 2019-06-24 19:05:43 +02:00
parent a7c610b767
commit 9fc58e4388
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ class SoapServer extends \SoapServer
ob_start();
parent::handle($soapRequest->getContent());
$response = ob_get_clean();
$response = str_replace('SOAP-ENV', 'soap', $response);
// Remove headers added by SoapServer::handle() method
header_remove('Content-Length');