Attachment support has been added to WCAP commands with the addition of new parameters and values.
While Communications Express, the Web user interface, does not support attachments yet, users of the Connector for Microsoft Outlook can now put attachments in their events and tasks, and can send attachments with invitations.
As part of attachment support, the following changes have been made to WCAP:
fetchattachment.wcap: a new command has been added to facilitate fetching of attachments. Only the attachment is fetched, not the event or task data itself.
deleteattach: a new argument for the storeevents command, used to delete existing attachments from an event or task without deleting the event or task itself.
fetchattach: a new parameter added to all fetch_by_* commands so that attachments can be returned as well as the event and task data itself.
sendattach: a new parameter for the storeevents command, used to specify whether the actual attachment is sent with the iTIP invitation, or not.
X-S1CS-CLIENT-ATTACH-ID: an X-Token containing the attachment's unique identifier. This X-Token is emitted only if the client supplied the attachment ID when the attachment was stored. Otherwise, the actual attachment is sent with the event.
The attachments argument can store a URL reference to attachments. These attachments are not stored in the data store.
For further information about attachments, see Sun Java System Calendar Server 6.3 WCAP Developer’s Guide.