summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Services/TSoapService.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/Web/Services/TSoapService.php b/framework/Web/Services/TSoapService.php
index 2d161f15..69f133fe 100644
--- a/framework/Web/Services/TSoapService.php
+++ b/framework/Web/Services/TSoapService.php
@@ -294,7 +294,7 @@ class TSoapServer extends TApplicationComponent
*/
public function __construct()
{
- $this->_classMap=new TMap;//TAttributeCollection;
+ $this->_classMap=new TAttributeCollection;
}
/**
@@ -369,7 +369,10 @@ class TSoapServer extends TApplicationComponent
if(!empty($this->_uri))
$options['uri']=$this->_uri;
if($this->_classMap->getCount()>0)
- $options['classmap']=$this->_classMap->toArray();
+ {
+ foreach($this->_classMap as $className)
+ $options['classmap'][$className]=$className; //complex type uses the class name in the wsdl
+ }
return $options;
}