Passing DateTime objects through SOAP WSDL layer
| From: | Andy Idol | Date: | Thu, 03 May 2012 11:21:13 +0000 |
| Subject: | Passing DateTime objects through SOAP WSDL layer | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-3358@lists.php.net to get a copy of this message | ||
Hi, i'm using SoapServer and SoapClient classes to do some RPC and transfer
data.
Some of my models have DateTime-objects as fields and i need to pass them
through SOAP WSDL layer without loosing data. How can i accomplish this?
According to this: https://bugs.php.net/bug.php?id=44383 PHP
DateTime's are
not converted to xsd:datetime automatically.