I have an application in which I have added a web reference to:
I have the following code:
MyWebRef.Lists someList = new MyWebRef.Lists(); XmlNode result = someList.GetListAndView("MyList", string.Empty);
but for it is throwing a "List does not exist..." error, and when I look at
MyWebRef.URL it comes back as
The list in question does not exist here so the error makes sense, but I don't understand why the instance of my web reference is pointing to the base site, when the web reference I added was definately for the subsite.
What am I doing wrong here? Can anyone suggest a fix?