Groups | Blog | Home
all groups > dotnet web services > april 2005 >

dotnet web services : Properties trasformed in Fields by VS tools for autogen. proxy cla



Alex Ruggeri
4/29/2005 4:03:12 AM
The tools of VS.NET 2003 when you add a "web reference" autogenerate the
proxy definition of my "Data Transfer Object" classes.
The problem is that the original "Public Property" are trasformed in "Public
fields" and i don't like this behaviour because I can't make databinding of
my Custom type Array in controls like ListBox, ComboBox, etc...

Di you know any solutions or workaround?

Thanks,
Alex - Italy

erymuzuan
5/1/2005 12:00:00 AM

You can use WSContractFisrt tool to generate a pretty classes from XSD
or WSDL

or you can try XSDObjectGen from www.gotdotnet.com. both are lot better
than the stock xsd.exe

regards
erymuzuan mustapa


[quoted text, click to view]
AddThis Social Bookmark Button