You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Dale Herrig <Da...@Copart.Com> on 2006/07/11 19:51:45 UTC
WSDL2Jjava generates wrong formatt for xs:timeDate
Group,
Using the following element in a WSDL
<xs:element name="dateReceived" type="xs:dateTime" />
generates the following formatted string
<dateReceived>2006-07-11T06:41:14.197-07:00</dateReceived>
Notice the time is in millseconds XXX instead of seconds XX. The WC3 dateTime specifies this field as seconds XX.
Has anyboby encounter this problem?
Is there a way to force the generated string to format to as seconds XX instead of milli-seconds XXX
Thanks for any help on this.
RE: WSDL2Jjava generates wrong formatt for xs:timeDate
Posted by Simon Fell <sf...@salesforce.com>.
Not sure I see the problem, the time part is 06 hours 41 minutes 14
seconds and 197 milliseconds, looks like a perfectly valid xsd:dateTime
to me.
Cheers
Simon
________________________________
From: Dale Herrig [mailto:Dale.Herrig@Copart.Com]
Sent: Tuesday, July 11, 2006 10:52 AM
To: Axis-User@Ws. Apache. Org (E-mail)
Subject: WSDL2Jjava generates wrong formatt for xs:timeDate
Group,
Using the following element in a WSDL
<xs:element name="dateReceived" type="xs:dateTime" />
generates the following formatted string
<dateReceived>2006-07-11T06:41:14.197-07:00</dateReceived>
Notice the time is in millseconds XXX instead of seconds XX. The WC3
dateTime specifies this field as seconds XX.
Has anyboby encounter this problem?
Is there a way to force the generated string to format to as seconds XX
instead of milli-seconds XXX
Thanks for any help on this.