The problem it is not know what type the Object1 and Object2 are, so they are not described in the WSDL. If you really want to return an IList, you can use the System.Xml.Serialization.XmlIncludeAttribute to explicitly add the type of Object1 and Object2 to
the WSDL. But like Bart said, I would suggest using a strongly typed collection (inheriting from CollectionBase) or an array. Jan
jantie
Member
125 Points
25 Posts
Re: How to return a System.Collections object in a WebMethod
Oct 06, 2003 06:40 AM|LINK
MSDN BeLux: www.msdn.be