I am trying to send in a CreateAccountRequest SOAP call to Zimbra API. If I just send in <name> and <password> elements. Zimbra create new account successfully. But when I try to add custom attributes to the xml, Zimbra returns http 500.

Here is the XML I am using :

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<context xmlns="urn:zimbra">
<CreateAccountRequest xmlns="urn:zimbraAdmin">
<a n="firstname">test</a>
<a n="lastname">test</a>

Any suggestions would be most welcome.