e.g.
[WebMethod]
public XmlDocument Test()
{
//code
return xmlDoc;
}
I have another project in which i reference the webservice, when this webservice is added the auto generated Reference.cs file is wrong, the method signature is wrong, it thinks the return value is an XMLNode not an XMldocument. i.e.
public System.Xml.XmlNode Test() {
///bla bla bla
return ((System.Xml.XmlNode)(results[0]));
}
I have to manually go into the Reference.cs file and manually change it to XMLDocument!!
Any ideas?? (im using vs2003 by the way)
Thanks

New Topic/Question
Reply




MultiQuote




|