[
https://issues.apache.org/jira/browse/AXIS2-4544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen updated AXIS2-4544:
-----------------------------------
Fix Version/s: 1.6.0
It should be included in the snapshot builds from the trunk and the 1.6 branch.
> java.util.Date type parameters break ws execution
> -------------------------------------------------
>
> Key: AXIS2-4544
> URL: https://issues.apache.org/jira/browse/AXIS2-4544
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.5.1
> Environment: Apache Tomcat/6.0.20
> Reporter: Mike
> Fix For: 1.6.0
>
>
> There is a problem in Date type parameter processing. Just deploy a pojo with
> the following method:
> public Date testDate(Date date) {
> return date;
> }
> and then invoke the ws with the following request:
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:q0="http://test" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <q0:testDate>
> <q0:date>2009-11-18</q0:date>
> </q0:testDate>
> </soapenv:Body>
> </soapenv:Envelope>
> and you get an error.
> In order to fix this problem, you have to change the line 313 in class
> org.apache.axis2.databinding.typemapping.SimpleTypeMapper from
> return ConverterUtil.convertToDateTime(source).getTime();
> to
> return ConverterUtil.convertToDate(source);
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]