Well, they're both perfectly valid and correct xsd:Datetimes.  What "web 
standard" are you referring to?

http://www.w3.org/TR/xmlschema-2/#dateTime

As far as including/excluding the timezone goes, I can't really help you.
 

> -----Original Message-----
> From: Alexander Anguiano [mailto:[EMAIL PROTECTED] 
> Sent: Monday, January 08, 2007 3:46 PM
> To: [email protected]
> Subject: [xfire-user] Csharp DateTime serialization format is wrong?
> 
>  
>  
> (I used tcpmonitor to get the soap message fragment)
>  
>  
> DateTime t = DateTime.Parse("01/05/2007 01:00:00");
>  
> serialized to this.
>  
> <onDate>2007-01-05T01:00:00</onDate>
>  
> It used to serialize as this
>  
> <onDate>>2007-01-05T01:00:00.0000000-05:00</onDate>>
>  
>  
> Does anyone know why this happens and if there is a setting 
> that i have to set in VS to make it serialize to the web standard?
>  
> I use java 1.5.9,  xfire 1.2,  Visual C# 2005 Express Edition
>  
> The wsdl generated this for the field
>  
> <xsd:element maxOccurs="1" minOccurs="1" name="onDate" 
> nillable="true" type="xsd:dateTime" /> 
>  
> Thanks
> Alexander
> 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to