axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Fell" <sf...@salesforce.com>
Subject RE: WSDL2Jjava generates wrong formatt for xs:timeDate
Date Tue, 11 Jul 2006 17:54:23 GMT
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.
 



 


Mime
View raw message