I think I am having problems getting the class objects inside of an ArrayList to serialize properly.<BR><BR>I have added this:<BR><BR> [System.Xml.Serialization.XmlInclude(typeof(NNTP_Se rvice.NNTPGroupData))]<BR><BR>to make sure that my webservice knows about the custom datatype. Then I modified my class, adding an empty constructor, the SerializableAttribute to the class and the XmlElement attributes to the properties. Here is the code:<BR><BR>[SerializableAttribute()]<BR>public class NNTPGroupData<BR>{<BR> private string sName;<BR> private int iFirstArticle;<BR> private int iLastArticle;<BR> private bool bCanPost;<BR><BR> public NNTPGroupData(){}<BR><BR> public NNTPGroupData(string sName, int iFirstArticle, int iLastArticle, bool bCanPost)<BR> {<BR> this.sName = sName;<BR> this.iFirstArticle = iFirstArticle;<BR> this.iLastArticle = iLastArticle;<BR> this.bCanPost = bCanPost;<BR> }<BR><BR> [XmlElement(ElementName="Name")]<BR> public string Name <BR> {<BR> get <BR> {<BR> return sName;<BR> }<BR> }<BR><BR> ....<BR><BR>}<BR><BR>The webservice does not generate any exceptions and compiles fine, but the custom class does not serialize itself. Instead, I get this:<BR><BR> &#060;?xml version="1.0" encoding="utf-8" ?&#062; <BR> &#060;ArrayList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/"&#062;<BR> &#060;Object xsi:type="NNTPGroupData" /&#062; <BR> &#060;Object xsi:type="NNTPGroupData" /&#062; <BR> &#060;Object xsi:type="NNTPGroupData" /&#062; <BR> &#060;Object xsi:type="NNTPGroupData" /&#062; <BR> &#060;Object xsi:type="NNTPGroupData" /&#062; <BR> ....<BR><BR>So the webservice recognizes the NNTPGroupData as a datatype, but is not serializing the properties of that class.<BR><BR>Any ideas? Am I going down the right path?<BR><BR>