You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/01/16 20:06:56 UTC

DO NOT REPLY [Bug 16177] New: - datetime data type not being processed (2003-3-8T17:2:11)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16177

datetime data type not being processed (2003-3-8T17:2:11)

           Summary: datetime data type not being processed (2003-3-
                    8T17:2:11)
           Product: Axis
           Version: 1.0
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: nyayo@hotmail.com


Issue:
Axis throws a numberFormatException when it encounters a xsd:dateTime data type 
with value 2003-3-8T17:2:11. This is valid date based on the current WSDL 
Specification.

Scenario:
I just created a simple echoDate webservice and exposed it via axis.

Trace:
java.lang.NumberFormatException: Invalid date/time
        at org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement
(SimpleDeserializer.java:223)
        at org.apache.axis.encoding.DeserializerImpl.endElement
(DeserializerImpl.java:495)
        at org.apache.axis.encoding.DeserializationContextImpl.endElement
(DeserializationContextImpl.java:942)

Please email me directly if possible if there is a resolution to this.