To create a new distribution list, I use the attached ruby code. It based on code from
Adding Appointments in Zimbra with Ruby and SOAP | Tyler Lesmann.
I use ruby 1.8.7 with soap4r 1.5.8 (gem)
The
send_soap2 returns the response as a string, instead of a SOAP::Mapping:Object. The is due to a parse error of the soap4r xml parser. If the error occurs, I use REXML to parse the string myself.