Hi Folks, I have written a small webservice in which one of the methods
returns a nodelist. The file compiles OK, but when I ry to run it I ge teh
following error:
"You must implement the Add(System.Object) method on System.Xml.XmlNodeList
because it inherits from IEnumerable".
Can anybody help???
Dilip Krishnan - 01 Feb 2005 20:26 GMT
Hello Shem,
NodeList is not xml serializable. Try to just create an array of xml nodes
and change your return value to XmlNode [] instead of XmlNodeList
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
> Hi Folks, I have written a small webservice in which one of the
> methods
[quoted text clipped - 5 lines]
> because it inherits from IEnumerable".
> Can anybody help???