Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2886

xs:date not serialized/deserialized correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Labels:
      None

      Description

      I am using Axis 1.4 for a web-service client application. all the classes and stubs have been generated through wsdl2java .
      While consuming a web service , we are getting the below exception.

      java.lang.NumberFormatException: Invalid date
      at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement(SimpleDeserializer.java:180)

      Axis is throwing this excpeption specifically for xsd:date type , where as xsd:dateTime type it is working .

      I have gone through the previous links in Jira forum on the same issue

      https://issues.apache.org/jira/browse/AXIS-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863365#action_12863365

      Can you please help on the issue . Do i have to use Axis2 , to avoid this issue , or i can continue using Axis 1.4 with some bug fix .

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              meshriva Mike
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: