#44383 [Com]: PHP DateTime not converted to xsd:datetime
From: martijn dot zijlstra at gmail dot com Date: Wed, 10 Dec 2008 13:44:18 +0000 Subject: #44383 [Com]: PHP DateTime not converted to xsd:datetime References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-131867@lists.php.net to get a copy of this message
ID: 44383
Comment by: martijn dot zijlstra at gmail dot com
Reported By: kevin dot craft at gmail dot com
Status: Open
Bug Type: SOAP related
Operating System: Windows XP
PHP Version: 5.2.5
New Comment:
still not fixed in 5.2.6-0.dotdeb.1
Previous Comments:
------------------------------------------------------------------------
[2008-06-30 12:00:56] r dot janssen at keensystems dot eu
I am, too, looking for a solution for this problem.
I can specify parameters as dateTime type but when generating the WSDL
the generation stops and does nothing.
------------------------------------------------------------------------
[2008-05-13 04:40:11] barth at pbx-network dot de
Anyone has a soluiton or workaround for this issue? How can a
date/time been passed over to a webservice endpoint?
------------------------------------------------------------------------
[2008-03-17 01:17:47] kevin dot craft at gmail dot com
Exactly. The SOAP extension should know what format to output the
DateTime as because it should be specified as a W3C standard somewhere
in the SOAP or XML Schema definition. When the SOAP extension encounters
an xsd:datetime (or related type), it should output the DateTime object
according to the standard for that type.
------------------------------------------------------------------------
[2008-03-16 07:09:07] derick@php.net
We can't add __toString() to the date class, as it would have no idea
on which format to use to render it. So it should be done in the SOAP
ext.
------------------------------------------------------------------------
[2008-03-15 13:06:28] felipe@php.net
Your idea then is add __toString in DateTime?
This is not a bug, but a "feature request". :)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44383
--
Edit this bug report at http://bugs.php.net/?id=44383&edit=1
Thread (29 messages)
- #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [Opn->Fbk]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- #44383 [NoF->Opn]: PHP DateTime not converted to xsd:datetime
- #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Opn]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Opn->Fbk]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Fbk->NoF]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [NoF->ReO]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [ReO]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [Com]: PHP DateTime not converted to xsd:datetime
- Bug #44383 [ReO->Csd]: PHP DateTime not converted to xsd:datetime
| « previous | php.bugs (#131867) | next » |
|---|