[SoapBundle] Fixed SoapWebServiceController to keep compatibility with Symfony 2.0
This commit is contained in:
parent
990cca2783
commit
42d38653af
|
@ -71,7 +71,11 @@ class SoapWebServiceController extends ContainerAware
|
||||||
ob_start();
|
ob_start();
|
||||||
$this->soapServer->handle($this->soapRequest->getSoapMessage());
|
$this->soapServer->handle($this->soapRequest->getSoapMessage());
|
||||||
|
|
||||||
return $this->getResponse()->setContent(ob_get_clean());
|
$response = $this->getResponse();
|
||||||
|
$response->setContent(ob_get_clean());
|
||||||
|
|
||||||
|
// The Symfony 2.0 Response::setContent() does not return the Response instance
|
||||||
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue