Anyone using the java interface to ics?

I am trying to use the java interface to the calendar server but not having much look.I have tried subscribing withenp:///icsenp:///ics/enp:///ucs/eventalarm?calid=martinbut nothing appears using the JmsSample application
[270 byte] By [709082] at [2007-11-25 4:43:06]
# 1

The setting to get some response is to set

service.admin.serverresponse = "yes"

the default is no!

The other useful setting which is not in the default ics.conf is

caldb.serveralarms.contenttype = "text/calendar"

the default seems to be binary, which is a bit amiss sending binary in a jms text message.

709082 at 2007-6-29 3:20:31 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 2

I am trying to write an interface to retrieve information from Sun Calendar Server. For example I wanted to retrieve the events for today's view. Anyone here has any reference or code snipplets?

if there is a URL please post it here. I found there is only CSAPI and no Java API for the time being at the net.

cheers,

RoLand

yientau at 2007-6-29 3:20:31 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 3
What about using WCAP? Seach docs.sun.com for it.It's basically a bunch of HTTP requests you make, whereyou can chose HTML, XML, or iCalendar for the outputmessage format.
Joerg.Wunsch at 2007-6-29 3:20:31 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 4

Ok, Thanks for the information. I tried WCAP and it works fine. Now, another problem arise. I tried to use the Single Sign On (SSO) approach. When the user click on a link, when entering the page, it will auto-submit the page in order to auto login. The following is the code :

<tr><td colspan="3" align="center">

<iframe src="http://webcalendar.sarawaknet.gov.my:85/command.shtml?view=overview&id=<%=strSession%>&calid=<%=strUsername%>" width="100%" height="500" scrolling="auto" frameborder="0">

</iframe>

</td></tr>

The problem here is that, it works fine at my local pc but it doesn't works fine when I deploy it to the server. What could be the reason?

Regards,

Roland Yau

yientau at 2007-6-29 3:20:31 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 5
may i ask how you got wcap to sync, and with what is it syncing.
riegersteve at 2007-6-29 3:20:31 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...