[Mono-list] Problem with SOAP Serialization of DateTime

Lluis Sanchez lluis at ximian.com
Wed Nov 2 08:43:39 EST 2005


> I'm having some problems with SOAP Serialization.
> 
> I run a client built in C# under Windows that makes calls to a Web
> Service built with mono under Linux.
> 
> I am having a little problem with date-time types being exchanged
> from/to the server.
> 
> If the client has it's time set to GM, then it sends a DateTime type
> as:  2005-10-31T11:47:30.0156250-00:00
> If I set the timezone on my Windows machine to my Timezone (GMT+2), it
> sends the DateTime as: 2005-10-31T11:51:54.4062500+02:00 (well, almost
> the same datetime but the only notable difference is in the noitation
> at the end: -00:00 vs. +02:00).
> 
> In the first case, it works perfectly, in the second, it throws: Could
> not deserialize SOAP message.
> 
> Is this a known issue? I use Mono 1.1.9.2 and serve the Web Service
> using mod_mono and Apache.

There is no known issue about serialization of DateTime. If you have a
simple test case that can be used to reproduce the problem please fill a
buf report in bugzilla.ximian.com.

Lluis.




More information about the Mono-list mailing list