Hello, all,

i have been tasked with writing an out-of-zimbra SOAP or JSON ((very) preferably JSON) program which uses Zimbra's calendar as the back-end for an internal "who's in/out of the office" calendar tool. On the surface this seemed simple enough to do, but i'm having problems getting the first steps working, apparently because of dissonance between SOAP and JSON representations of the requests.

i am looking for a document which describes the mapping between SOAP XML and JSON request/response structure. The docs i've read so far blithely imply/state that the structures are identical, but that is not possible because XML and JSON cannot always be mapped 1:1. (e.g.
Code:
<foo bar="...">baz</foo>
has no structurally identical JSON counterpart). i'm not so terribly concerned with the response structure (i can see those) but more the request structure (which currently requires trial and error (so far only error ).

In particular, i'm looking for one specific request: AuthRequest. If i can get an AuthRequest working then i'll at least have reached a point where Zimbra and i can start to chitchat and i can then experiment with the rest. For most requests i can snoop the Zimbra web client traffic to see what the requests look like, but AuthRequest is a special case which (to the best of my knowledge) is not actually used by the Zimbra web client (which posts the initial login data via a form).

i have looked through, e.g.:

ZCS 6.0:Zimbra REST API Reference - Zimbra :: Wiki

but have not yet found anything approaching what i'm looking for. (That particular reference is essentially useless for outside-of-Zimbra development because it documents operations which require a login, but does not document how to perform the login!)

Any tips would be greatly appreciated!