axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MH (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (AXIS2-4075) AXIS2 1.4.1 does not support java.util.Date type
Date Thu, 18 Mar 2010 07:44:27 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846780#action_12846780
] 

MH edited comment on AXIS2-4075 at 3/18/10 7:44 AM:
----------------------------------------------------

Tested on Axis 1.5.1
Problem 1) was fixed - java.util.Date is mapped to xs:date
The problem 2) still exists on Axis 1.5.1: correct xs:date in request  (e.g. "2001-01-01")
causes exception "date string can not be less than 19 charactors". 

This is a serious problem. Please reopen.

      was (Author: lorjob):
    Tested on Axis 1.5.1
Problem 1) was fixed - java.util.Date is mapped to xs:date
The problem 2) still exists on Axis 1.5.1: correct xs:date in request  (e.g. "2001-01-01")
causes exception "date string can not be less than 19 charactors". 

  
> AXIS2 1.4.1 does not support java.util.Date type
> ------------------------------------------------
>
>                 Key: AXIS2-4075
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4075
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4.1
>         Environment: windows xp sp2 + tomcat 5.5 + java 1.5 + axis2 1.4.1
>            Reporter: yong yang
>         Attachments: DateService.aar, DateService.java, DateService.wsdl, exception.txt
>
>
> Hi, I found that the axis2 1.4.1 does not support java.util.Date type.
> 1)WSDL
>  AXIS2 1.4.1 should map java.util.Date to xs:date in the WSDL, rahter than xs:dateTime(see
the attached wsdl). 
> 2)deserialize and serialize ISO xml DATE string
> AXIS2 1.4.1 can not construct a java.util.Date object from a ISO xml date string, for
example, "2001-01-01". It threw an exception, "date string can not be less than 19 charactors".
(more detail can be found in the attached exception.txt). 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message