I am creating a custom web service which needs to reference a specific site collection on our SharePoint 2010 farm.
The web service is on a development machine not part of the farm (although SharePoint 2010 is installed on it), so using the following doesn't work:
SPSite site = new SPSite(url);
"url" in this case is the url to the existing SharePoint 2010 farm, hosted externally to this development machine.
Is there a method to 'talk' to the existing SharePoint 2010 farm outside of the development environment i am using?