I\'m having a really tough time debugging a SharePoint SOAP call to create a list item. The SOAP body I\'m sending is:
I had this issue myself.
This is the code I used and it seems to work:
batch = Element('Batch').append(Attribute('OnError', 'Return'))
batch.append(Attribute('ListVersion', '1'))
method = Element('Method').append(Attribute('ID', '1'))
method.append(Attribute('Cmd', 'Update'))
method.append(Element('Field').append(Attribute('Name', 'ID')).setText(1))
method.append(Element('Field').append(Attribute('Name', 'Title')).setText('Just Changed It23223'))
batch.append(method)
updates = Element('ns1:updates')
updates.append(batch)
client.service.UpdateListItems('Test', updates)