Web Calendar Access Protocol

Web Calendar Access Protocol

Web Calendar Access Protocol est un protocole client-serveur d'accès à distance aux calendriers et agendas basés sur les standards Internet XML, HTTP, iCalendar et vCard. WCAP a été créé pour être utilisé avec Sun Java Calendar Server, mais est aussi utilisé par le projet open source Buni Meldware[1]. WCAP utilise de simples commandes HTTP GET pour accéder aux données iCalendar, Freebusy, TODO et vCard. WCAP répond aussi bien sous forme de texte traditionnel ou sous forme de "xml" iCalendar/etc[2]. De nombreux plugins existent comme ceux pour Mozilla Thunderbird[3], Novell Evolution[4] et Microsoft Outlook[5]. Il existe un protocole concurrent nommé CalDAV en voie de standardisation.

Sommaire

Exemple

Client

GET /wcap/get_freebusy.wcap?appid=mozilla-calendar&calid=mailto%3Atom%40localhost&busyonly=1&dtstart=20070521T040000Z&dtend=20070525T040000Z&fmt-out=text%2Fxml&id=17046506 HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070403 Thunderbird/1.5.0.10
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache

Réponse

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5
Set-Cookie: JSESSIONID=41DAC48C79927D68EDFAF5FBFD491236; Path=/
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 1399
Date: Mon, 21 May 2007 19:43:37 GMT

<?xml version="1.0" encoding="UTF-8"?>
<iCalendar>
<iCal version="2.0" prodid="-//Buni Meldware Calendar Server 0.8//EN" METHOD="PUBLISH">
<X-NSCP-CALPROPS-LAST-MODIFIED>20061102T170639Z</X-NSCP-CALPROPS-LAST-MODIFIED>
<X-NSCP-CALPROPS-CREATED>20060814T110002Z</X-NSCP-CALPROPS-CREATED>
<X-NSCP-CALPROPS-READ>999</X-NSCP-CALPROPS-READ>
<X-NSCP-CALPROPS-WRITE>999</X-NSCP-CALPROPS-WRITE>
<X-NSCP-CALPROPS-RELATIVE-CALID>tom</X-NSCP-CALPROPS-RELATIVE-CALID>
<X-NSCP-CALPROPS-NAME>tom</X-NSCP-CALPROPS-NAME>
<X-NSCP-CALPROPS-PRIMARY-OWNER>tom</X-NSCP-CALPROPS-PRIMARY-OWNER>
<X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>@@o^c^WDEIC^g</X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>
<X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>@@o^a^RSF^g</X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>
<X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>@^a^rsf^g</X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>
<X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>@^c^^g</X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>
<X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>@^p^r^g</X-NSCP-CALPROPS-ACCESS-CONTROL-ENTRY>
<X-NSCP-CALPROPS-RESOURCE>0</X-NSCP-CALPROPS-RESOURCE>
<X-S1CS-CALPROPS-ALLOW-DOUBLEBOOKING>1</X-S1CS-CALPROPS-ALLOW-DOUBLEBOOKING>
<FREEBUSY>
<START>20070521T040000Z</START>
<END>20070525T040000Z</END>
<FB FBTYPE="BUSY">20070521T130000Z/20070521T140000Z</FB><FB FBTYPE="BUSY">20070521T150000Z/20070521T160000Z</FB>
</FREEBUSY>
<X-NSCP-WCAP-ERRNO>0</X-NSCP-WCAP-ERRNO>
</iCal>
</iCalendar>

Références

Source


Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Web Calendar Access Protocol de Wikipédia en français (auteurs)

Игры ⚽ Нужно сделать НИР?

Regardez d'autres dictionnaires:

  • Web Calendar Access Protocol — (WCAP) is a protocol for remote client server calendar access and scheduling based on the XML, HTTP, iCalendar, and vCard Internet standards. WCAP was created for use with the product that eventually became Sun Java Calendar Server, but is also… …   Wikipedia

  • Sun Java Calendar Server — The Sun Java System Calendar Server is Sun s calendar (scheduling) server. The currently available version is 6.3 which is now part of the Sun Java Communication Suite.User can access their calendar and task list items using a variety of clients …   Wikipedia

  • Web conferencing — refers to a service that allows conferencing events to be shared with remote locations. Most vendors also provide either a recorded copy of an event, or a means for a subscriber to record an event. The service allows information to be shared… …   Wikipedia

  • Calendar of 2003 — ▪ 2004 January So long as there is a single Brazilian brother or sister going hungry, we have ample reason to be ashamed of ourselves. Lula, in his inaugural address as president of Brazil, January 1 January 1       The Socialist Lula (Luiz… …   Universalium

  • Calendar of 2001 — ▪ 2002 January America has never been united by blood or birth or soil. We are bound by ideals that move us beyond our backgrounds, lift us above our interests and teach us what it means to be citizens. Every child must be taught these principles …   Universalium

  • Web desktop — A web desktop or webtop is a desktop environment embedded in a web browser or similar client application. A webtop integrates web applications, web services, client–server applications, application servers, and applications on the local client… …   Wikipedia

  • Calendar of 2000 — ▪ 2001 January We are fortunate to be alive at this moment in history. Never before has our nation enjoyed, at once, so much prosperity and social progress with so little internal crisis and so few external threats. Never before have we had such… …   Universalium

  • Calendar of 2002 — ▪ 2003 January I will not wait on events while dangers gather. I will not stand by as peril draws closer and closer. The United States of America will not permit the world s most dangerous regimes to threaten us with the world s most destructive… …   Universalium

  • Calendar of 1998 — ▪ 1999 January January 1       At the stroke of the new year, the Russian ruble is worth a thousand times less than before as three zeros are removed from its value; about six new rubles equal one U.S. dollar.       Foreign Minister David Levy… …   Universalium

  • WCAP — Web Calendar Access Protocol (Computing » Networking) Army World Class Athlete Program (Governmental » US Government) Army World Class Athlete Program (Community » Sports) Army World Class Athlete Program (Governmental » Military) ** Winfield… …   Abbreviations dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”