Retriving data from Calendar Server

Hi All,

I am trying to retrieve data from Sun java Calendar . I know we can do that using WCAP commands. But i need to write a code in C to retrieve the data. i could not find a CSAPI to retrieve the data. Then i learnt that CSAPI's are used to modify and enhance the server functionality.Does that mean we cannot retrieve data like events and todos form the calendar using CSAPI's. If yes Is there any other way to retrieve data from calendar server other than WCAP ?

Thanks and Regards,

Eklavya

[523 byte] By [Eklavyaa] at [2007-11-27 11:39:07]
# 1

Hi,

From the calendar server developers guide:

http://docs.sun.com/app/docs/doc/819-2434?l=en

* Calendar Server Application Program Interface (CSAPI)

Used to modify server functionality.

* Proxy Authentication SDK (authSDK)

Plug-in for a portal authentication service.

* Web Calendar Access Protocol (WCAP)

A protocol with commands used to access calendar services and data.

So you need to use the WCAP protocol to access the user data. As WCAP is a protocol (ICAP over HTTP) there is no reason you can't write a C program to access the required data. Find a C library that allows you to make HTTP requests and parse the data accordingly. Using something like Perl is much easier simply because there are already modules that do most of the work.

Regards,

Shane.

shane_hjortha at 2007-7-29 17:24:09 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...