I have a web service that contains two classes. One class is called Category the other is called CategoryList. CategoryList Inherits from System.Collections.CollectionBase and has a default method called Item. Therefore, it acts much like any other collection..except that it&#039;s members are Categories.<BR><BR>When I envoke this web service method that returns a CategoryList I get "ArrayOfCategory" as the root. Is there any way to change that to "CategoryList"?<BR><BR>I have tried putting &#060;XmlRoot("CategoryList")&#062; attribute on the CategoryList class but I get the following error:<BR><BR>System.InvalidOperationException: XML attributes may not be specified for the type PFSWeb.Commerceware.DataAccess.CategoryList<BR><BR >