| Ram Mulay 2004-04-30, 10:38 am |
| I got this error message when I added the IsNullable="true" attribute to a data type of System.Decimal in DataTypes.cs that got automatically generated from my orchestration when I exposed it as a web service. Surely there is a problem here because the sc
hema in my orchestration has nillable="true" for certain decimal datatypes. I would expect the XmlSerializer to support this too but apparently it does not like it. Is this a bug? If not, is there a workaround for this? This error message happens for Syst
em.DateTime also. However it works fine for strings and integers. Infact, it generates the IsNullable="true" automatically for these types in DataTypes.cs. Can anybody tell me what I can do to overcome this problem...I cannot use just strings and integers
in my schema and I definitely need some of them to be nillable. Thanks!
|