summaryrefslogtreecommitdiff
path: root/framework/Web/Services/TSoapServer.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2015-01-22 09:14:12 +0100
committerFabio Bas <ctrlaltca@gmail.com>2015-01-22 09:14:12 +0100
commit5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (patch)
treee870d29e21c14d5b1683d638dff978afe0a104fa /framework/Web/Services/TSoapServer.php
parent53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff)
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Web/Services/TSoapServer.php')
-rw-r--r--framework/Web/Services/TSoapServer.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/framework/Web/Services/TSoapServer.php b/framework/Web/Services/TSoapServer.php
index d6a04a4a..7bfa7d86 100644
--- a/framework/Web/Services/TSoapServer.php
+++ b/framework/Web/Services/TSoapServer.php
@@ -11,6 +11,10 @@
*/
namespace Prado\Web\Services;
+use Prado\Exceptions\TInvalidDataValueException;
+use Prado\TPropertyValue;
+use Prado\Prado;
+use Prado\TApplicationMode;
/**
* TSoapServer class.
@@ -23,7 +27,7 @@ namespace Prado\Web\Services;
* @package Prado\Web\Services
* @since 3.1
*/
-class TSoapServer extends TApplicationComponent
+class TSoapServer extends \Prado\TApplicationComponent
{
const WSDL_CACHE_PREFIX='wsdl.';
@@ -82,7 +86,7 @@ class TSoapServer extends TApplicationComponent
{
$server->handle();
}
- catch (Exception $e)
+ catch (\Exception $e)
{
if($this->getApplication()->getMode()===TApplicationMode::Debug)
$this->fault($e->getMessage(), $e->__toString());
@@ -143,7 +147,7 @@ class TSoapServer extends TApplicationComponent
{
if($this->getApplication()->getMode()===TApplicationMode::Debug)
ini_set("soap.wsdl_cache_enabled",0);
- $this->_server = new SoapServer($this->getWsdlUri(),$this->getOptions());
+ $this->_server = new \SoapServer($this->getWsdlUri(),$this->getOptions());
}
return $this->_server;
}