I have a WebMethod in Webservice which is returning an XmlDocument.The Webserive works fine when i am executing it and providing the necessary parameters.
I have created a proxy to this serivce in another application.proxy is created well and good.
Now the problem is,when i try to access the methods from that serivce its getting all the methods from the service but the return type of the method is showing as XmlNode instead of XmlDocument.
Let us say for example:
public class DataService : System.Web.Services.WebService
public XmlDocument GetData(int ID)
Now i have one windows application which is using this service.
Created an object to the serive through proxy.
DRService.DataService drService = new DRService.DataService();
Now i am trying to access the service methods.
The return type of the above method call should be XmlDocument but it is returning XmlNode as return type.
Any idea how to solve this?