Quote:
Originally Posted by seeker Zimbra API always responses in JSON. I need to process the response in my Java app (not JavaScript). |
Zimbra by default responds with the same format your request is in. So if your resuest is SOAP 1.2, Zimbra responds in SOAP 1.2. If your request is JSON, Zimbra sends back JSON.
You can override this (and the Web client does) by adding a
<format> element to the
<context> element in the SOAP header. But if you send XML and leave off the special
<format> tag, you'll get XML back.