Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4075

AXIS2 1.4.1 does not support java.util.Date type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 1.4.1
    • None
    • adb
    • None
    • 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).

      Attachments

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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              donaldyy yong yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: