From d3e8a0e6a7737bb6b847bac325325f8933d6cd76 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 7 Mar 2008 17:12:19 +0000 Subject: fixed #783 --- HISTORY | 1 + framework/3rdParty/WsdlGen/Wsdl.php | 2 +- framework/3rdParty/WsdlGen/WsdlGenerator.php | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3