Archive for category: Web Services

A quick look on WSS Out Of Box web services

14 October, 2009 (07:40) | Web Services | By: G Vijai Kumar

Here I am going to show you how to create/delete site collection and create/delete list using WSS OOB webservices Creating site collection static void Main(string[] args) { AdminService.Admin admService = new AdminService.Admin(); admService.Credentials = System.Net.CredentialCache.DefaultCredentials; try { admService.CreateSite(“http://fivenumber:5/sites/someothername”, “SomeotherTitle”, “SomeotherDescription”, 1033, “STS#0″, “Fivenumber\\g.vijaikumar”, “GVijaiKumar”, “g.vijaikumar@fivenumber.com”, “”, “”); Console.WriteLine(“Site Collection Created:”); } catch (System.Web.Services.Protocols.SoapException ex) { [...]