title: "Element <Batch> of parameter updates is missing or invalid" exception when deleting item from sharepoint repository
body: <p>I'm getting an error </p>
  
  <blockquote>
    <p>Element <code>&lt;Batch&gt;</code> of parameter updates is missing or invalid</p>
  </blockquote>
  
  <p>when trying to delete a file in sharepoint repository.
  My request is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
  &lt;SOAP-ENV:Header/&gt;
  &lt;SOAP-ENV:Body&gt;
      &lt;ns0:UpdateListItems xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://schemas.microsoft.com/sharepoint/soap/"&gt;
          &lt;ns0:listName&gt;1e473281-959d-4a7f-952f-08aaccc3470e&lt;/ns0:listName&gt;
          &lt;ns0:updates&gt;
              &lt;ns0:Batch OnError="Continue"&gt;
                  &lt;ns0:Method ID="1" Cmd="Delete"&gt;
                      &lt;ns0:Field Name="ID"&gt;1&lt;/ns0:Field&gt;
                      &lt;ns0:Field Name="FileRef"&gt;repisitoryurl/sites/Repo2/Repository/filename.docx&lt;/ns0:Field&gt;
                  &lt;/ns0:Method&gt;
              &lt;/ns0:Batch&gt;
          &lt;/ns0:updates&gt;
      &lt;/ns0:UpdateListItems&gt;
  &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>I'm performing this call through java code in Tibco BusinessWorks process. The response I'm getting is </p>
  
  <blockquote>
    <p>The Http Server replied with a 5XX status code</p>
  </blockquote>
  
  <p>from IIS so the actual error comes from IIS logs. The interesting part is that this exact call works well when performed through soapUI. The above request is also from the IIS logs just to be sure how it looks when it gets there.
  Of course I'm calling a proper service which is <em>repositoryurl/sites/Repo2/_vti_bin/Lists.asmx</em>.</p>
  
  <p>Would anyone have an idea on what I'm doing wrong?</p>