summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2008-03-07 17:12:19 +0000
committerxue <>2008-03-07 17:12:19 +0000
commitd3e8a0e6a7737bb6b847bac325325f8933d6cd76 (patch)
tree444f439645e0390134db70104b292b49249e086e /framework
parent6990083c854e74a0403f917d34d9cb68e3d953b9 (diff)
fixed #783
Diffstat (limited to 'framework')
-rw-r--r--framework/3rdParty/WsdlGen/Wsdl.php2
-rw-r--r--framework/3rdParty/WsdlGen/WsdlGenerator.php9
2 files changed, 10 insertions, 1 deletions
diff --git a/framework/3rdParty/WsdlGen/Wsdl.php b/framework/3rdParty/WsdlGen/Wsdl.php
index 4de57e6b..1df2f337 100644
--- a/framework/3rdParty/WsdlGen/Wsdl.php
+++ b/framework/3rdParty/WsdlGen/Wsdl.php
@@ -78,7 +78,7 @@ class Wsdl
private $_encoding='';
- private static $_primitiveTypes = array('string', 'int', 'float', 'boolean');
+ private static $_primitiveTypes = array('string', 'int', 'float', 'boolean', 'date', 'time', 'dateTime');
/**
* Creates a new Wsdl thing
diff --git a/framework/3rdParty/WsdlGen/WsdlGenerator.php b/framework/3rdParty/WsdlGen/WsdlGenerator.php
index f2a6b380..a52d97dd 100644
--- a/framework/3rdParty/WsdlGen/WsdlGenerator.php
+++ b/framework/3rdParty/WsdlGen/WsdlGenerator.php
@@ -224,6 +224,15 @@ class WsdlGenerator
case 'bool':
return 'xsd:boolean';
break;
+ case 'date':
+ return 'xsd:date';
+ break;
+ case 'time':
+ return 'xsd:time';
+ break;
+ case 'dateTime':
+ return 'xsd:dateTime';
+ break;
case 'array':
return 'soap-enc:Array';
break;