From c4a9b58b08551730317de34df2c84de2d672bed2 Mon Sep 17 00:00:00 2001 From: Cameron Murphy Date: Mon, 11 Jan 2016 16:28:20 +1100 Subject: [PATCH] Use request_stack service instead of deprecated request service --- src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php b/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php index 764e7fe..977a3a2 100644 --- a/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php +++ b/src/BeSimple/SoapBundle/Controller/SoapWebServiceController.php @@ -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()