Create custom Report for CardDAV

10 views
Skip to first unread message

Jasnab

unread,
Aug 26, 2022, 10:09:18 AM8/26/22
to sardine
Hey,

I would like to create a Report and use it with Sardine. The request should look like:
<C:addressbook-multiget xmlns:C="urn:ietf:params:xml:ns:carddav">
    <D:prop xmlns:D="DAV:">
        <D:getetag />
        <C:address-data />
    </D:prop>
    <D:href xmlns:D="DAV:">pathToA.vcf</D:href>
    <D:href xmlns:D="DAV:">pathToB</D:href>
    <D:href xmlns:D="DAV:">pathToC</D:href>
</C:addressbook-multiget>

Unfortunately I cannot figure out how to implement this with JAXB as in Sardines SyncCollectionReport. SardineUtil.toXML() should be able to translate.

Can someone give me a hint how to implement custom JAXB reports like this?

Best regards
Reply all
Reply to author
Forward
0 new messages