Fix location url from relative to absolute
This commit is contained in:
parent
cdf77dacd8
commit
ca4991a9f6
|
@ -26,6 +26,7 @@ use Symfony\Component\Debug\Exception\FlattenException;
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||||
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||||
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
|
use Symfony\Component\HttpKernel\Log\DebugLoggerInterface;
|
||||||
|
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Christian Kerl <christian-kerl@web.de>
|
* @author Christian Kerl <christian-kerl@web.de>
|
||||||
|
@ -97,7 +98,7 @@ class SoapWebServiceController implements ContainerAwareInterface
|
||||||
$this->container->get('router')->generate(
|
$this->container->get('router')->generate(
|
||||||
'_webservice_call',
|
'_webservice_call',
|
||||||
array('webservice' => $webservice),
|
array('webservice' => $webservice),
|
||||||
true
|
UrlGeneratorInterface::ABSOLUTE_URL
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
@ -244,7 +245,7 @@ class SoapWebServiceController implements ContainerAwareInterface
|
||||||
return $this->soapResponse = $response;
|
return $this->soapResponse = $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getWebServiceContext($webservice)
|
protected function getWebServiceContext($webservice)
|
||||||
{
|
{
|
||||||
$context = sprintf('besimple.soap.context.%s', $webservice);
|
$context = sprintf('besimple.soap.context.%s', $webservice);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue