[Mono-list] Nullable types in web services

Oleg Deribas thisaddressisnotmine at td.selfip.net
Wed Jan 17 15:19:14 EST 2007


Hello,

Andreas Färber said the following on 17.01.2007 21:30:

>> But I can't get it to work. Could you please explain what I should  
>> do to get the same results from ASP.NET and xsp2?
> 
> In case it's not obvious: Just modify the generated code!

There are many reasons not to do that. Is it an only possible solution?

> As you said yourself, the XML is fine. Maybe Microsoft is simply  
> checking against a hardcoded xsi prefix (the xsp XML had d1p1  
> instead). Doesn't Mono have a similar tool you could check?

Sure it have. But mono's wsdl2 tool generates the same result with the
service running on xsp2:

public int GetNull()

And when web service is running under ASP.NET mono's wsdl2 generates
just "Error: Cannot cast from source type to destination type."

-- 
Oleg



More information about the Mono-list mailing list