Use request_stack service instead of deprecated request service

This commit is contained in:
Cameron Murphy 2016-01-11 16:28:20 +11:00
parent fc15bf36ab
commit c4a9b58b08
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class SoapWebServiceController implements ContainerAwareInterface
$this->serviceBinder = $webServiceContext->getServiceBinder(); $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 $this->soapServer = $webServiceContext
->getServerBuilder() ->getServerBuilder()
->withSoapVersion11() ->withSoapVersion11()