BizTalk Server Orchestration - IsNullable may not be 'true' for value type System.Decimal - help!

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > April 2004 > IsNullable may not be 'true' for value type System.Decimal - help!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author IsNullable may not be 'true' for value type System.Decimal - help!
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!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com