I'm integrating an external calendar application with a Scalix calendar via the Messaging Services API.
So far I have implemented read (GET), write (POST) and update (PUT), but I'm having problem doing a DELETE.
According to the Scalix API Guide (http://www.scalix.com/documents/Scalix_API_Guide_11.0.1.pdf):
Create new event (POST)
Code: Select all
POST /api/max.mustermann@scalix.com/mailbox/Calendar HTTP/1.1
Content-Type: text/calendar
Cookie: JSESSIONID=92F8E49755895D70DED0D36F5BD2F36C
Host: pippin:8080
C ontent-Length: 802
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Scalix Corporation//Scalix Server 11.0.0.142-alpha//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
UID:
040000008200E00074C5B7101A82E00800000000E050E42AA95DC6010000000000000000100000008BAD512EBD81924B81D3A97C1C1CE175
LAST-MODIFIED:20060414T080608Z
DTSTAMP:20060808T190000Z
DTSTART:20060808T190000Z
DTEND:20060808T203000Z
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
SEQUENCE:0
SUMMARY:Lunch with Jane
X-SCALIX-LABEL:0
LOCATION:Somewhere nice
DESCRIPTION:Meet for lunch
CLASS:PUBLIC
ORGANIZER;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Max Mustermann:MAILTO:max.
mustermann@company.com
ATTENDEE;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Jane Doe:MAILTO:Jane.
Doe@acme.com
END:VEVENT
END:VCALENDAR
Update event (PUT)
Code: Select all
PUT /api/max.mustermann@scalix.com/mailbox/Calendar HTTP/1.1
Content-Type: text/calendar
Cookie: JSESSIONID=92F8E49755895D70DED0D36F5BD2F36C
Host: pippin:8080
C ontent-Length: 802
BEGIN:VCALENDAR
. . . (same as above)
BEGIN:VEVENT
. . . (same as above)
END:VEVENT
END:VCALENDAR

Delete event (DELETE)
Code: Select all
DELETE /api/max.mustermann@scalix.com/mailbox/Calendar HTTP/1.1
Content-Type: text/calendar
Cookie: JSESSIONID=92F8E49755895D70DED0D36F5BD2F36C
Host: pippin:8080
C ontent-Length: 802
BEGIN:VCALENDAR
. . . (same as above)
BEGIN:VEVENT
. . . (same as above)
END:VEVENT
END:VCALENDAR

Am I on right track or have I miss undersod the how it works?
I'm retriving:
HTTP method DELETE doesn't support output
Any tips or suggestions?