Hi Preston,

I am trying to create a contact using createItemRequest method.
I am unable to create a contact when i try to set the EmailAddressList's Primary Attribute for the contact. However if i comment the line for setting the Primary Attribute for email addresses, I am able to create the contact.

The following is the XML Trace.

<createItemRequest xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
- + <item xsi:type="q1:Contact" xmlns:q1="http://schemas.novell.com/2005/01/GroupWise/types">
- + <q1:name>test user</q1:name>
- + <q1:container>4B94C4DE.DSRDOM.BNEPO.104.1737179.1. 87D.1@53</q1:container>
- + <q1:PABGuid>/Y\6` "f <E:*! 6~ !</q1:PABGuid>
- + <q1:fullName>
- + <q1:displayName>test user</q1:displayName>
- + <q1:firstName>test</q1:firstName>
- + <q1:lastName>user</q1:lastName>
</q1:fullName>
- + <q1:emailList primary="test1">
- + <q1:email>test1</q1:email>
- + <q1:email>test2</q1:email>
</q1:emailList>
<q1:officeInfo />
</item>
</createItemRequest>

I am getting two types of error


- + <createItemResponse
xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
- + <status>
- + <gwt:code>53506</gwt:code>
- + <gwt:description>User ambiguous</gwt:description>
</status>
</createItemResponse>


- + <createItemResponse
xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
xmlns="http://schemas.novell.com/2005/01/GroupWise/methods">
- + <status>
- + <gwt:code>53505</gwt:code>
- + <gwt:description>User not on post office</gwt:description>
</status>
</createItemResponse>