summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--framework/3rdParty/WsdlGen/Wsdl.php2
-rw-r--r--framework/3rdParty/WsdlGen/WsdlGenerator.php9
3 files changed, 11 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 9c513657..80626a54 100644
--- a/HISTORY
+++ b/HISTORY
@@ -21,6 +21,7 @@ CHG: Active Record no longer automatically performs adding/removing/updating rel
CHG: TJavaScript::encode() will encode data as a list if integer indices are detected (Qiang)
ENH: Ticket#722 - Add Read Only capabilities to TInPlaceTextBox (Christophe)
ENH: Ticket#743 - Added status code header in HTTP response when in error (Qiang)
+ENH: Ticket#783 - Added date/time type support to soap implementation (Hongliang)
ENH: Active Record supports multiple foreign references of the same table (Wei)
ENH: Added TDbCommand.queryColumn() (Qiang)
ENH: Active Record now supports implicitly declared related properties (Qiang)
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;