Partilhar via


Are the Sharepoint Web Services too complex? Looking for something better?

I'm looking for a few people to help beta-test an alternative to Sharepoint's web services.  The solution allows a simple "object modelish" approach to working with WSS, as shown by the following sample code snippets:

// display all fields of all items of all lists
ListsClient ListClient = new ListsClient();

foreach (ListDescriptor list in ListClient.GetLists("https://WssSite"))
{
     Console.WriteLine("List {0} has {1} items",list.ListName,list.ListItems.Length.ToString());
     foreach(ListItem item in list.ListItems)
     {
           Console.WriteLine("item {0} fields:",item["Title"]);
           foreach(Field f in item.Fields)
                Console.WriteLine("{0} = {1}",f.Name,f.Value);
     }
}

 

// update all list items in the "Tasks" list which are due today

ListDescriptor tasks = ListClient.GetListItemsByFieldValue("https://WssSite","Tasks","DueDate",strToday);

foreach(ListItem task in tasks.ListItems)

{

     task["Description"] += " <-- DUE TODAY!!";

     ListClient.UpdateListItem("https://WssSite","Tasks",task);

}

It also solves some of the WSS web service pain-points, such as download/upload, checkin/checkout, etc. 

Drop me a mail if you are interested.  3/3/2005 Update: The source is now available for download, more details here

Comments

  • Anonymous
    December 30, 2004
    Sounds very interestin & I'll like to check it out. I have WSS servers up and running.
  • Anonymous
    January 02, 2005
    I'd love to help and to check it out... we have WSS servers in deployment and can use it in a quasi-production environment.

    m
  • Anonymous
    January 02, 2005
    Nice, I definitely want to try it out....
  • Anonymous
    January 03, 2005
    Very interested, am currently doing similar work.

    Ed@wss-ed.nl
  • Anonymous
    January 07, 2005
    Hi would be keen to put some details on my blog when its ready,... i could get some more people to help you out
  • Anonymous
    January 13, 2005
    I'd really like to try that out as I absolutely do not like Sharepoint Web Services. They are a pain in the a** to use.

    I'll drop you an e-Mail so you can send them to me for testing
  • Anonymous
    May 31, 2009
    PingBack from http://woodtvstand.info/story.php?id=12346