Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
1.5
-
None
-
None
Description
When a method returns a java.util.Date (or an object containing a java.util.Date), only the date portion is returned in Axis2 1.5:
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns:getCurrentTimeResponse xmlns:ns="http://ws.apache.org/axis2">
<ns:return>2009-06-10</ns:return>
</ns:getCurrentTimeResponse>
</soapenv:Body>
</soapenv:Envelope>
In Axis2 1.4.1, the full date and time was returned:
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns:getCurrentTimeResponse xmlns:ns="http://ws.apache.org/axis2">
<ns:return>2009-06-10T16:22:22.622Z</ns:return>
</ns:getCurrentTimeResponse>
</soapenv:Body>
</soapenv:Envelope>
This change breaks any application that requires the time portion to function correctly.
Attachments
Attachments
Issue Links
- relates to
-
AXIS2-4075 AXIS2 1.4.1 does not support java.util.Date type
- Resolved
-
AXIS2-4626 Wrong Date handling in SimpleTypeMapper
- Closed