Developing a Zimbra Soap Service Extension of Your Own

Useful Links and Examples for Creating a Zimbra Soap Service Extension

Photo by Stefan K on Unsplash
Sadly, the Zimbra SOAP API isn’t really SOAP. It’s basically XML-over-HTTP. So you’ll have to manually create the xml-documents you send to zimbra.
@Override
public void registerHandlers(DocumentDispatcher documentDispatcher) {
documentDispatcher.registerHandler(SoapServiceMailConstants.INBOX_UNREAD_COUNT_REQUEST,
new InboxUnreadCountParserHandler());
}
curl --insecure --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction:urn:yaanimail" --data @request.xml -X POST https://zimbra.nils.local/service/soap/InboxUnreadCountRequest

I would love to change the world, but they won’t give me the source code | coding 👩🏼‍💻 | coffee ☕️ | jazz 🎷 | anime 🐲 | books 📚 | drawing 🎨