#44383 [Com]: PHP DateTime not converted to xsd:datetime
[email protected] ("david dot zuelke at bitextender dot com")
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
ID: 44383
Comment by: david dot zuelke at bitextender dot com
Reported By: kevin dot craft at gmail dot com
Status: No Feedback
Bug Type: SOAP related
Operating System: Windows XP
PHP Version: 5.2.6
New Comment:
We've created a patch to implement this.
Description (with patch and tests for download):
http://article.gmane.org/gmane.comp.php.devel/57369
Patch (in case gmane doesn't work):
http://pastie.org/527755
Tests (in case gmane doesn't work):
http://pastie.org/527762
Previous Comments:
------------------------------------------------------------------------
[2009-05-06 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-05-04 10:56:14] bme at hst dot aau dot dk
I tried the snapshot on windows xp, apache 2.2, with the php code
supplied in this thread and this is what I see:
Request:
<soapenv:Envelope xmlns:xsi="hxxp://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="hxxp://www.w3.org/2001/XMLSchema"
xmlns:soapenv="hxxp://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:xmethods-delayed-quotes">
<soapenv:Header/>
<soapenv:Body>
<urn:getCurrentDate
soapenv:encodingStyle="hxxp://schemas.xmlsoap.org/soap/encoding/"/>
</soapenv:Body>
</soapenv:Envelope>
Response:
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="hxxp://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="hxxp://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:SOAP-ENC="hxxp://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="hxxp://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="hxxp://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:getCurrentDateResponse>
<currentDate xsi:type="SOAP-ENC:Struct"/>
</ns1:getCurrentDateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Assuming the supplied wsdl and php server/client is correct, DateTime
is still not being served correctly. I am not even seeing xsd:datetime
in the response.
Allt "http" have been changed to "hxxp" to be able to post the comment.
------------------------------------------------------------------------
[2009-04-28 18:37:21] [email protected]
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2008-12-10 13:44:17] martijn dot zijlstra at gmail dot com
still not fixed in 5.2.6-0.dotdeb.1
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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