Remove from response the nillable elements. Fix namespace declaration in the xml response
This commit is contained in:
parent
fea1093bed
commit
d1f5c1f674
|
@ -111,6 +111,7 @@ class SoapServer extends \SoapServer
|
|||
$envelop->setAttribute('soap:encodingStyle', 'http://schemas.xmlsoap.org/soap/encoding/');
|
||||
$envelop->setAttribute('xmlns:soapenc', 'http://schemas.xmlsoap.org/soap/encoding/');
|
||||
$envelop->setAttribute('xmlns:xsd', 'http://www.w3.org/2001/XMLSchema');
|
||||
$envelop->setAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance');
|
||||
|
||||
/** @var \DOMElement $body */
|
||||
$body = $envelop->childNodes->item(0);
|
||||
|
|
Loading…
Reference in New Issue