Use request_stack service instead of deprecated request service
This commit is contained in:
parent
fc15bf36ab
commit
c4a9b58b08
|
@ -67,7 +67,7 @@ class SoapWebServiceController implements ContainerAwareInterface
|
|||
|
||||
$this->serviceBinder = $webServiceContext->getServiceBinder();
|
||||
|
||||
$this->soapRequest = SoapRequest::createFromHttpRequest($this->container->get('request'));
|
||||
$this->soapRequest = SoapRequest::createFromHttpRequest($this->container->get('request_stack')->getCurrentRequest());
|
||||
$this->soapServer = $webServiceContext
|
||||
->getServerBuilder()
|
||||
->withSoapVersion11()
|
||||
|
|
Loading…
Reference in New Issue