Axis2
  1. Axis2
  2. AXIS2-4075

AXIS2 1.4.1 does not support java.util.Date type

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: adb
    • Labels:
      None
    • Environment:
      windows xp sp2 + tomcat 5.5 + java 1.5 + axis2 1.4.1

      Description

      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).

      1. 1_5_1_DateService.wsdl
        4 kB
        MH
      2. DateService.aar
        1 kB
        yong yang
      3. DateService.java
        0.1 kB
        yong yang
      4. DateService.wsdl
        4 kB
        yong yang
      5. exception.txt
        3 kB
        yong yang

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              yong yang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development