[Mono-list] Include private fields in soap messages

Ramon Guiu ramon.guiu@xyleme.com
Fri, 04 Jun 2004 12:10:07 +0200


Hi,

I have a type that is used in a method call to a web service. This type 
has some private attributes that can only be set when the object is 
instantiated.
The problem is that when Mono xml-serializes my object the private 
fields are not (XmlSerializer behaviour). Is there anyway I can force 
the serialization of this fields the same way I can explicitly exclude 
public fields with XmlIgnoreAttribute?


Thanks,

Ramon