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:16:30 UTC
DO NOT REPLY [Bug 16177] -
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)
stevel@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From stevel@apache.org 2003-01-16 19:16 -------
its not WSDL that specifies the date time format, its XML schema. And that has
rules about leading zeroes that this string breaks.
http://www.w3.org/TR/xmlschema-2/#dateTime
"This lexical representation is the [ISO 8601] extended format CCYY-MM-DDThh:mm:ss
....
The CCYY field must have at least four digits, the MM, DD, SS, hh, mm and ss
fields exactly two digits each (not counting fractional seconds); leading zeroes
must be used if the field would otherwise have too few digits."
If you want to echo the date, just create a Calendar object and return it; Axis
will do the rest.