Autogenerated .NET WSDL files

Hi,

Here's my concern. I have wrote several classes that I share between two different webservices. Some of the public properties are used in one webservice but not the other. But the autogenerated .NET WSDL files of both the webservices list the properties(private variables) that I am not using and don't want users to see. Is there a way to prevent showing un used properties(private variables) on the WSDL file. Any help in this regard will be highly appreciated.

[479 byte] By [Nali] at [2007-12-16]
# 1
Use [XmlIgnore].
douglasp at 2007-9-9 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...

.NET Development

Site Classified