Archive for tag: Web Services

A quick look on WSS Out Of Box web services – Part 2

19 April, 2010 (09:31) | MOSS - Object Model | By: G Vijai Kumar

In my previous post you can have a quick look on WSS Out Of Box web services – Part 1 In this post once again I want to update few WSS web service handy programs with minimum lines of code. Before executing the code first of all add web reference http://servername:port/_vti_bin/Webs.asmx In this example I [...]

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) { [...]