diff --git a/src/RequestBuilder.php b/src/RequestBuilder.php index 10c3931..bc2b50c 100644 --- a/src/RequestBuilder.php +++ b/src/RequestBuilder.php @@ -184,7 +184,7 @@ private function prepareSoap11Headers() $headers = []; $headers['Content-Length'] = $this->soapMessage->getSize(); $headers['SOAPAction'] = $this->soapAction; - $headers['Content-Type'] = 'text/xml; charset="utf-8"'; + $headers['Content-Type'] = 'text/xml; charset=utf-8'; return $headers; } @@ -199,7 +199,7 @@ private function prepareSoap12Headers() $headers = []; if ($this->httpMethod == 'POST') { $headers['Content-Length'] = $this->soapMessage->getSize(); - $headers['Content-Type'] = 'application/soap+xml; charset="utf-8"' . '; action="' . $this->soapAction . '"'; + $headers['Content-Type'] = 'application/soap+xml; charset=utf-8' . '; action=' . $this->soapAction; } else { $headers['Accept'] = 'application/soap+xml'; }