OPEN-XCHANGE
You are here: Community > Mailinglist
freshmeat.net
[OX Devel] calendar only

Martin Werthmoeller mw at lw-systems.de
Fri Jun 29 18:13:04 CEST 2007


Am Fri, 29 Jun 2007 um 09:22 GMT -0400 schrieb Matthew Rubenstein:

> > > >     NAS_ID=$SESSION_ID
> > > >     sessionID=$SESSION_ID   
> > > >     SITE=calendar/week
> > > >     SPO_headerType=calendar
> > > > 
> > > > 
...
> > 
> > Every request to /servlet/intranet will be passed to the tomcat
> > server.
> 
>   That's an excellent tip. Do you know the rest of the URL API to the OX
> "intranet" servlet? SITE=calendar/[week,month] work, but not
> calendar/day. Do you know the complete list of SPO_headerType and SITE
> argument combinations?
>
No. Probably, you could find this at the source code of the free version
of Open-Xchange.  

> Are they documented somewhere? Where did you find them? I know the URLs
> are available by "reverse-engineering" the URLs of frames in the default
> OX interface, but is there a more complete list of this API?
>
Because its HTTP it's relatively easy to look for the URLs by looking at
the requests. On my firefox I open the context menu and look at the frame
information. On the "day" view of the calendar, for example, for the
"Address" parameter of the page, it shows:

  https:/<hostname>/servlet/intranet?sessionID=<session-id>&\
  SITE=calendar/calendar&NAS_ID=<session-id>&d=29.06.2007


> Also, do you know any technique for logging in and retrieving an OX frame
> in a single URL transaction, rather than a sequence of retrieved URLs,
> for a stateless client using OX as a web service?
> 
You need to hold the 'state' at the client side, if the authentication to
a web application works with the ocncept of a session.

If you want to use the OX as a web service, you should look at the XML/DAV
interface of Open-Xchange. The protocol of this interface exchanges XML
documents over HTTP (with WebDAV methods).

This interface works with http basic authentication.


Best regards,
Martin Werthmoeller

PS: I'm subscribed on the mailing list. There's no need to send me your
    answers via personal mail too. ;-)

-- 
LWsystems - IT-Service and Consulting
mw at lw-systems.de * http://www.lw-systems.de



More information about the Devel mailing list