I can create new accounts - using the code in this thread as a starting point. My problem is that I can only seem to specify the username and password using soap. I can't seem to figure out how to let zimbra know that I want to also set the display name, cos, first name, last name, and the other options.
I know from reading the soap.txt that the create account request needs the following format:
Code:
<CreateAccountRequest>
<name>...</name>
<password>...</password>*
<a n="attr-name>...</a>+
</CreateAccountRequest>
I can't figure out how to use ruby to pass information in that format for the <a n="attr-name"> elements.
I've tried a hash, an array, but the information is just ignored (the account is created but with only the username and password).
I'm sure that I could just use ruby to generate the expected soap xml call - but that seems silly.
Many of the examples for using soap with ruby are based on accessing sites that have published a wsdl - so + on the need for a wsdl. (I know that was discussed in a previous post).
Any help would be appreciated.
