Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion UpdateListItems web service does not update field

View parsed - Show only message text

Thread-Topic: UpdateListItems web service does not update field
thread-index: Acn7U3SmTQN2jnRFQcaPcczQyp/98g==
X-WBNR-Posting-Host: 206.169.97.226
From: =?Utf-8?B?RXJpYw==?= <eri...@nospam.nospam>
Subject: UpdateListItems web service does not update field
Date: Thu, 2 Jul 2009 13:27:01 -0700
Lines: 36
Message-ID: <355DFDB9-8D14-4E9C-867E-0C1961FE25E0@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3168
Newsgroups: microsoft.public.sharepoint.portalserver
NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
Path: g2news2.google.com!news4.google.com!goblin2!goblin.stu.neva.ru!weretis.net!feeder1.news.weretis.net!TK2MSFTNGP01.phx.gbl!TK2MSFTNGHUB02.phx.gbl


This question was posted by a colleague but it hasn't received a reply.  I'm 
guessing his TechNet benefits was not configured correctly so I'm reposting 
it for him.

---

I'm using _vti_bin/lists.asmx?op=UpdateListItems web service to update a task 
list field passing the required infromation but the update does not take 
place and the web service does not return an error. The ID of the item exists 
and is the correct item to update. The account used by the web service to 
make the update has Contirbute permissions on the list. Any ideas what has 
gone wrong?

Here is a sample of the xml used.

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <UpdateListItems 
xmlns="http://schemas.microsoft.com/sharepoint/soap/"> 
            <listName>Tasks</listName> 
                <updates> 
                    <Batch OnError="Continue" ListVersion="1"> 
                    <Method ID="1" Cmd="Update"> 
                        <Field Name="ID">199</Field> 
                        <Field Name="AssignedTo">Joe</Field> 
                    </Method> 
                    </Batch> 
                </updates> 
        </UpdateListItems> 
    </soap:Body>
</soap:Envelope>



Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google