Zimbra SOAP API - java?

问题描述:

我需要将 Zimbra Soap API 用于我们正在开发的新功能.但是,我无法找到很多使用此 API 的 Java 客户端示例,而且总体上我对需要研究的内容有些迷茫.(一般来说,我对使用 SoAP 还很陌生)

I need to use the Zimbra Soap API for a new feature we're working on. However, I have not been able to find a lot of examples of Java clients using this API and I am overall a bit lost as to what I need to look into. (I am pretty new to using SoAP in general)

基本上,我需要发送用户名并为用户获取某种 zimbra ID,使用我的 java 代码修改用户信息,然后将该数据推送回服务器.

Basically, I will need to send a username and get some sort of zimbra ID for the user, modify user info with my java code, and then push that data back to the server.

我在服务器上找到了用于此的 wsdl 文件,但我不知道从哪里开始.任何帮助将不胜感激 - 从高级解释到示例再到详细步骤.

I have found the wsdl files for this on the server, but I'm not sure where to go from here. Any help would be appreciated - anything from high level explanations to examples to detailed steps.

提前致谢!

遗憾的是,Zimbra SOAP API 并不是真正的 SOAP.它基本上是 XML-over-HTTP.因此,您必须手动创建发送到 zimbra 的 xml 文档.

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.

我不知道 Java 库,我做了一个 Python 一个.

I don't know about a Java library for this, I did a Python one.