Reputation: 1386
I want to get list of Sites and Lists from Sharepoint using Web Services.
Worked on GetSite() and GetSiteAndWeb() functions of SiteData web service
Also tried Site and Lists.
I am unable to get list of sites.
Upvotes: 1
Views: 3099
Reputation: 245429
You want the Webs.GetWebCollection
method from the Webs Web Service.
When working through the SharePoint API, the terminology is different than when working in SharePoint itself.
Site Collection (SharePoint) -> Site (SharePoint API)
Site (SharePoint) -> Web (SharePoint API)
Upvotes: 4