Message from discussion
UpdateListItems web service does not update field
X-Tomcat-ID: 19602390
References: <355DFDB9-8D14-4E9C-867E-0C1961FE25E0@microsoft.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_0001_3FAECE11"
Content-Transfer-Encoding: 7bit
From: v-la...@online.microsoft.com ("Lambert Qin [MSFT]")
Organization: Microsoft
Date: Mon, 06 Jul 2009 05:09:08 GMT
Subject: RE: UpdateListItems web service does not update field
X-Tomcat-NG: microsoft.public.sharepoint.portalserver
Message-ID: <TJLZmff$JHA.2548@TK2MSFTNGHUB02.phx.gbl>
Newsgroups: microsoft.public.sharepoint.portalserver
Lines: 83
NNTP-Posting-Host: tk2tomimport1.phx.gbl 10.230.18.247
Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!weretis.net!feeder1.news.weretis.net!TK2MSFTNGP01.phx.gbl!TK2MSFTNGHUB02.phx.gbl
------=_NextPart_0001_3FAECE11
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hi Eric,
for your information, I think there is nothing wrong with the
configurations.
The permission is correct, and the soap message looks good.
If you were using JQuery, you need to add the additional request header
"SOAPAction" shown in with following code sample:
$.ajax({
url: Web Service URL,
beforeSend: function(xhr) {
xhr.setRequestHeader("SOAPAction",
"http://schemas.microsoft.com/sharepoint/soap/UpdateListItems");
},
type: "POST",
dataType: "xml",
data: soapEnvelope,
complete: processResult,
contentType: "text/xml; charset=utf-8"
});
If you were using VB.Net or C#, you could refer to How to: Update List
Items (http://msdn.microsoft.com/en-us/library/ms440289.aspx)
As web service issues requires extensive programming skills, it is
suggested to get further help in
microsoft.public.sharepoint.portalserver.development newsgroup.
Thanks for your understanding.
Sincerely,
Lambert Qin
Microsoft Online Support
Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_3FAECE11
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Eric,
\par
\par for your information, I think there is nothing wrong with the configurations.
\par The permission is correct, and the soap message looks good.
\par
\par If you were using JQuery, you need to add the additional request header "SOAPAction" shown in with following code sample:
\par
\par $.ajax(\{
\par url: Web Service URL,
\par beforeSend: function(xhr) \{
\par xhr.setRequestHeader("SOAPAction",
\par "http://schemas.microsoft.com/sharepoint/soap/UpdateListItems");
\par \},
\par type: "POST",
\par dataType: "xml",
\par data: soapEnvelope,
\par complete: processResult,
\par contentType: "text/xml; charset=utf-8"
\par \});
\par
\par If you were using VB.Net or C#, you could refer to How to: Update List Items (http://msdn.microsoft.com/en-us/library/ms440289.aspx)
\par
\par
\par As web service issues requires extensive programming skills, it is suggested to get further help in microsoft.public.sharepoint.portalserver.development newsgroup.
\par
\par Thanks for your understanding.
\par
\par
\par Sincerely,
\par Lambert Qin
\par Microsoft Online Support
\par
\par Get Secure! - www.microsoft.com/security
\par =====================================================
\par When responding to posts, please "Reply to Group" via your newsreader so
\par that others may learn and benefit from your issue.
\par =====================================================
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_3FAECE11--