Thanks for the suggestions.
I have already modified the code to use object instead of int.
Unfortunately, that eliminates the whole purpose for me specifying "int"
in the WSDL in the first place ... I wanted strict type casting. That
is now gone.
<< You could also maybe use the
types defined in System.Data.SqlTypes which are nillable.>>
Regrettably, these are not Serializable and therefore .NET can't
transmit them as XML to a Web Service.
<<A nicer solution would be for wsdl.exe to do this for you.>>
I personally believe that a "nicer solution" would be for Dot-Net to
join the rest of the world in recognizing the need for unspecified
values within Value Types. It might also be nice for them to abide by
the WSDL/XML Schema standard for 'nillable="true"' within a type.
Thanks for your help.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!