axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike (JIRA)" <>
Subject [jira] Created: (AXIS2-4544) java.util.Date type parameters break ws execution
Date Wed, 04 Nov 2009 07:25:32 GMT
java.util.Date type parameters break ws execution

                 Key: AXIS2-4544
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.5.1
         Environment: Apache Tomcat/6.0.20
            Reporter: Mike

There is a problem in Date type parameter processing. Just deploy a pojo with the following

public Date testDate(Date date) {
	return date;

and then invoke the ws with the following request:

<soapenv:Envelope xmlns:soapenv="" xmlns:q0="http://test"
xmlns:xsd="" xmlns:xsi="">

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

return ConverterUtil.convertToDateTime(source).getTime();


return ConverterUtil.convertToDate(source);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message