I too am interested in this. I have tried using [SoapInclude and [XmlInclude
as well as a lot of other XML and SOAP serialization things but still can't
get them to combine.
You basically want to hide your inheritance from the end user and show them
a single type. The consumer does not need to know what inherits from what
behind the scene.
> I too am interested in this. I have tried using [SoapInclude and [XmlInclude
> as well as a lot of other XML and SOAP serialization things but still can't
> get them to combine.
> You basically want to hide your inheritance from the end user and show them
> a single type. The consumer does not need to know what inherits from what
> behind the scene.
Hi Jon,
Thanx for taking your time to read my post.
What you want is not exactly what I want, but the "feature" you
described could be nice, too. Did you try the XML Attribute
IncludeInSchema (true/false) on your business object.
I fell back on using the sharetypes switch to wsdl.exe for generating
one huge file including all WS stuff (proxies, types, etc.)...but it is
not nice....
Maybe one could do some refactoring over the generated
file...dunno...but I'll give it a try.
Regards
Henrik