title: How to update document's metadata in Sharepoint? (Linux -> WebServices -> Sharepoint)
body: <p>I managed to upload a file (crud PUT khe khe :) from Linux to Sharepoint.
  The absolute path of the file is:</p>
  
  <pre><code>http://myhost/mysite/reports/2010-04-13/file.txt
  </code></pre>
  
  <p>Now, I'm trying to add some metadata to the file:</p>
  
  <pre><code>from suds.transport.https import WindowsHttpAuthenticated
  url='http://myhost/mysite/_vti_bin/lists.asmx?WSDL'
  n=WindowsHttpAuthenticated(username='me',password='password')
  from suds.client import Client
  c=Client(url,transport=n)
  
  xml="""&lt;Batch OnError='Continue' PreCalc='' ListVersion='0'&gt;
  &lt;Method ID='1' Cmd='Update'&gt;
      &lt;Field Name='ID'/&gt;
      &lt;Field Name='FileRef'&gt;%s&lt;/Field&gt;
      &lt;Field Name='Jurisdiction'&gt;%s&lt;/Field&gt;
  &lt;/Method&gt;
  &lt;/Batch&gt;"""
  fn = 'http://myhost/mysite/reports/2010-04-13/file.txt'
  print c.service.UpdateListItems('reports',xml % (fn,'UK'))
  </code></pre>
  
  <p>The code returns:</p>
  
  <pre><code>soap:Server
  </code></pre>
  
  <p>... and <strong>nothing</strong> happens.
  Am I missing anything? Is there any other way to do it?</p>
  
  <p>Thanks</p>