tag:blogger.com,1999:blog-235448933337981771.post6684655195176787722..comments2023-10-29T02:37:16.855+11:00Comments on IIOS: AJAX, Web Services, WSDL and SharePointAnonymoushttp://www.blogger.com/profile/02631706245085122062noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-235448933337981771.post-32835067534860678712009-04-07T08:57:00.000+10:002009-04-07T08:57:00.000+10:00SharePoint 2007 won't allow updates/deletes fr...SharePoint 2007 won't allow updates/deletes from non trusted systems. So you can either do the call on the local system and add SPWeb.AllowUnsafeUpdates or disable the "Web Page Security Validation". But since were using clientside javascript we don't have access to the SP Object Model so all we can do is disable "Web Page Security Validation". <br><br>Central Administration > Application Management > Web Application General SettingsRay Proffitthttp://www.blogger.com/profile/15949105136667510991noreply@blogger.comtag:blogger.com,1999:blog-235448933337981771.post-41938728220225036292009-04-07T00:30:00.000+10:002009-04-07T00:30:00.000+10:00I've used this script a lot for list query; no...I've used this script a lot for list query; now I'd like to use it for list updates. I've set the list permission to allow anyone update, however I'm still getting a security validation error. Can you provide more details on the explicit use of "allowunsafeupdates"?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-235448933337981771.post-90674988707058611832008-07-07T16:26:00.000+10:002008-07-07T16:26:00.000+10:00I've updated fireWS to now remove unused nodes...I've updated fireWS to now remove unused nodes.Ray Proffitthttp://www.blogger.com/profile/15949105136667510991noreply@blogger.comtag:blogger.com,1999:blog-235448933337981771.post-36475331450887767312008-07-07T10:34:00.000+10:002008-07-07T10:34:00.000+10:00Your right thanks for high lighting the issue... O...Your right thanks for high lighting the issue... OK I tracked the problem down to fields where the web service expects XML Schema...<br><br>for the List/GetListItems these are the query, viewFields and queryOptions nodes.<br><br>My functions always build these in to the xml post, and the web service expects them to have a value.<br><br>So the fix is to either remove these nodes from the post or have them contain a value.<br><br>Quick Fix: In queryOptions add <QueryOptions/>Ray Proffitthttp://www.blogger.com/profile/15949105136667510991noreply@blogger.comtag:blogger.com,1999:blog-235448933337981771.post-18933778872561378242008-07-06T12:19:00.000+10:002008-07-06T12:19:00.000+10:00Hey, I tried your example and it doesn't work....Hey, I tried your example and it doesn't work... I get:<br>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.<br><br>Root element is missing.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-235448933337981771.post-23185421187570166682008-04-22T11:19:00.000+10:002008-04-22T11:19:00.000+10:00Wow, this little script really rocks!!But I can...Wow, this little script really rocks!!<br><br>But I can't get any updates or dels to workAnonymousnoreply@blogger.com