I need to create a console application to get all the site collections and subsites in a specific SharePoint 2007 web application. This application will run on client machine instead of SharePoint server.
I am not sure whether we can use object model for creating an application which runs outside SharePoint server. I thought of using Webs.asmx web service too, but could not find a suitable method to get the site collections.
Any help on this would be sincerely appreciated!