title: Querying calendar list through SharePoint lists web service.
body: <p>I'm trying to query the SharePoint calendar list through lists web service to get all the event that occurred in the current month. The results that I'm getting are very intermittent. I'm not facing any the same problem when queried with SharePoint object model. I have pasted the code below. Can any one please help me on this? Thanks.</p>
  
  <pre><code> var soapEnv =
    "&lt;soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'&gt; \
          &lt;soapenv:Body&gt; \
               &lt;GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'&gt; \
                  &lt;listName&gt;Calendar&lt;/listName&gt; \
                  &lt;query&gt; \
                    &lt;Query&gt; \
                      &lt;Where&gt; \
                        &lt;DateRangesOverlap&gt; \
                         &lt;FieldRef Name='EventDate' /&gt; \
                         &lt;FieldRef Name='EndDate' /&gt; \
                         &lt;FieldRef Name='RecurrenceID' /&gt; \
                         &lt;Value Type='DateTime'&gt;&lt;Week /&gt;&lt;/Value&gt; \
                        &lt;/DateRangesOverlap&gt; \
                      &lt;/Where&gt; \
                    &lt;/Query&gt; \
                  &lt;/query&gt; \
                  &lt;queryOptions&gt; \
                   &lt;QueryOptions&gt; \
                    &lt;ExpandRecurrence&gt;True&lt;/ExpandRecurrence&gt; \
                    &lt;CalendarDate&gt;" + calendarDate + "&lt;/CalendarDate&gt; \
                   &lt;/QueryOptions&gt; \
                  &lt;/queryOptions&gt; \
              &lt;/GetListItems&gt; \
          &lt;/soapenv:Body&gt; \
      &lt;/soapenv:Envelope&gt;";
  </code></pre>