I would like to an attachment to a list item through web services only. 1 ) I created a list using 'AddList' 2 ) Once I got GUID, then added List Items using UpdateListItems 3 ) Then using ows_ID as listItemId and GUID of list as listName I tried to add an attachment. Here I used base64 encoder to encode a string and put that content inside attachment tag.
I get response as "Value does not fall within the expected range." always.
Is there any other way to add an attachment? Or using WebDav if I upload a document, is versioning maintained? I don't want to loose versions.