The task in hand was to update a SharePoint list programmatically. I followed Microsoft's instructions as described in http://msdn.microsoft.com/en-us/library/ms440289.aspx to no avail.
The funny thing was I had used this same code on the companyweb home page and it worked. But it would not on this subsite.
The UpdateListItems method would silently fail. The following error message was logged:
List does not exist The page you selected contains a list that does not exist. It may have been deleted by another user.
After quite a few hours double checking field names, changing permissions, etc. I found where the problem was. I was using:
listService.Url = "http://companyweb/_vti_bin/Lists.asmx"
and I should have been using:
listService.Url = "http://companyweb/Subsitename/_vti_bin/Lists.asmx"
You have to use the correct location for the web service when the list is located in a subsite.
Happy SharePointing!