title: UpdateListItems giving error while trying to update a list in sharepoint
body: <p>I am trying to update a list using sharepoint list web services. But I am getting the following error</p>
  
  <pre><code>Results xmlns="http://schemas.microsoft.com/sharepoint/soap/"&gt;
   &lt;Result ID="1,Update"&gt;
    &lt;ErrorCode&gt;0x8102000a&lt;/ErrorCode&gt; 
    &lt;ErrorText&gt;Invalid URL Parameter. The URL provided contains an invalid Command or Value. Please check the URL again.&lt;/ErrorText&gt; 
    &lt;/Result&gt;
    &lt;/Results&gt;
  </code></pre>
  
  <p>Here is my code snippet</p>
  
  <pre><code>string strViewID = "{46FCE9EB-C789-430F-B1A3-9ACA41FE9BD9}";
              XmlDocument camlDocument = new XmlDocument();
              XmlNode queryNode = camlDocument.CreateElement("Query");
              XmlDocument myListDoc = new XmlDocument();
              XmlElement batchXML = myListDoc.CreateElement("Batch");
              batchXML.SetAttribute("OnError", "Continue");
              batchXML.SetAttribute("ListVersion", "1");
              batchXML.SetAttribute("ViewName", strViewID);
  
             batchXML.InnerXml = "&lt;Method ID ='1' Cmd='Update'&gt;" + "&lt;Field Name='Title'&gt;Z&lt;/Field&gt;" +"&lt;Field Name='Region'&gt;West&lt;/Field&gt;"+
                 "&lt;Field Name='Size'&gt;Z&lt;/Field&gt;" + "&lt;Field Name='Sales'&gt;Z&lt;/Field&gt;&lt;/Method&gt;";    
                XElement sys = XmlElementToXelement(batchXML);
                  XElement myListReturn = ws.UpdateListItems("{A30AFD47-7118-4904-A3B9-BCEFF7E3E203}", sys);
  </code></pre>
  
  <p>Please help.           </p>