Web Service Software Factory and XML Data Columns


kick it on DotNetKicks.com

I found a rusty washer today while trying to generate stored procedures for the data access tier with Web Service Software Factory to build out a new service.  Apparently the software factory cannot handle XML data columns in a database.  Definitely disappointing.  Here is what it does in the guidance.

Basically it flags it as "The table cannot be selected because it contains column data types that are not supported.".   My fix was to change the column to varchar(max) and then generate what I needed and then change the generated code.  But why?  We have a data type of XmlDocument!  Seems pretty easy to just set the property of the generated code to XmlDocument by default.  I don't get it.

 

posted @ Wednesday, May 30, 2007 11:07 AM

Print
Comments have been closed on this topic.
«September»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789