ID: 44383 Comment by: bme at hst dot aau dot dk Reported By: kevin dot craft at gmail dot com Status: Feedback Bug Type: SOAP related Operating System: Windows XP PHP Version: 5.2.6 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2009-04-28 18:37:21] j...@php.net 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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