Hi,

We have OutlookDAV caldav/carddav sync client for Outlook.

We use the following REPORT query to get list of the events in personal
calendar.

REPORT http://sogo-demo.inverse.ca/SOGo/dav/sogo3/Calendar/personal

<?xml version="1.0" encoding="utf-8" ?><c:calendar-query xmlns:d="DAV:"
xmlns:c="urn:ietf:params:xml:ns:caldav"><d:prop><d:getetag
/><c:calendar-data /></d:prop><c:filter><c:comp-filter
name="VCALENDAR"><c:comp-filter
name="VEVENT"/></c:comp-filter></c:filter></c:calendar-query>


Other DAV server returns the data correctly. But SOGo return the following
error:

Response:
HTTP/1.1 400 Request Failed
Date: Fri, 18 Apr 2014 20:52:05 GMT
Sogo-Request-Duration: 0.003062
Content-Length: 205
Content-Type: text/html; charset="iso-8859-1"
Vary: Accept-Encoding
Connection: close

<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml";>
*<body><h3>An error occurred during object publishing</h3><p>Could not
parse XML of WebDAV REPORT.</p></body>*
</html>


What could be wrong with this query?

Here is the response from another DAV server.

Response:
HTTP/1.1 207 Multi-Status
Date: Fri, 18 Apr 2014 20:55:46 GMT
Server: Apache/2.2
Set-Cookie: PHPSESSID=t5233q74husp2t4n7o2hsckkb6; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
X-Robots-Tag: noindex, nofollow
Last-modified: Tue, 15 Apr 2014 12:19:09 GMT
X-WebDAV-Status: 207 Multi-Status
Content-Length: 940
Vary: Accept-Encoding
Content-Type: text/xml; charset=UTF-8

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns1="urn:ietf:params:xml:ns:caldav">
<D:response>
<D:href>https://www.server.com/calDAV/surgate/Yellow/event30806415.ics
</D:href>
<D:propstat>
<D:prop>
<D:getetag>"event30806415-20140414090624.ics"</D:getetag>
<ns1:calendar-data><![CDATA[BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
UID:30806415
SUMMARY:Test135
LOCATION:Test
DESCRIPTION:Test
DTSTART:20140705T090000Z
DTEND:20140705T100000Z
CATEGORIES:Yellow
CLASS:PRIVATE
DTSTAMP:20140414T070624Z
LAST-MODIFIED:20140414T070624Z
X-MOZILLA-ALARM-DEFAULT-UNITS:minutes
X-MOZILLA-ALARM-DEFAULT-LENGTH:15
X-MOZ-SEND-INVITATIONS:TRUE
X;MEMBER=AlarmEmailAddress:[email protected]
BEGIN:VALARM
TRIGGER;VALUE=DURATION:-PT15M
END:VALARM
END:VEVENT
END:VCALENDAR
]]></ns1:calendar-data>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to