Hi,
Can we return XMLDocument from webservice? If yes then why I am getting following exception
"Cannot implicitly convert type 'System.Xml.Xml Node' to 'System.Xml.Xml Document'"
If I test my webservice on Visual Studio in returns fine. But in the actual client I am getting this exception.
This is how I am receiving it
What I am doing wrong??
P.S: What attribute should i put in code tag to make it C# code
Can we return XMLDocument from webservice? If yes then why I am getting following exception
"Cannot implicitly convert type 'System.Xml.Xml Node' to 'System.Xml.Xml Document'"
If I test my webservice on Visual Studio in returns fine. But in the actual client I am getting this exception.
This is how I am receiving it
Code:
XmlDocument testing = new XmlDocument(); ReturnUsersXML getUsers = new ReturnUsersXML(); testing = getUsers.GetUsersByPropertyXML(server,port,DN,LName, ID,IMO,city,state);
P.S: What attribute should i put in code tag to make it C# code