[Mono-list] Nullable types in web services
atsushi at ximian.com
Wed Jan 17 10:49:00 EST 2007
Oleg Deribas wrote:
> Here is output from the latest mono + mod_mono using xsp2:
> <?xml version="1.0" encoding="utf-8"?>
> <int d1p1:nil="true"
> And here is what I've got from IIS and ASP.NET 2.0:
> <?xml version="1.0" encoding="utf-8" ?>
> <int xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns="http://localhost/webservice/WebService.asmx" />
So, what's the problem? They are exactly equivalent.
> Result is that in VS 2005 web reference this method has plain Int32
> result value type instead of nullable Int32.
> So, is there any possibility to make nullable types work in xsp2?
Against your expectation, it is already working.
> BTW, I've found similar topic dated 2003:
They are similar only in point that it is about XML serialization.
More information about the Mono-list