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:[EMAIL PROTECTED]
Sent: Tuesday, July 11, 2006 10:52 AM
To: [EMAIL PROTECTED] 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.
 

 

Reply via email to