Use case : New contact created with Mozilla Thunderbird with NO email adress won't synchronize with exchange 2013
WorkAround : add email adress to contact :)
See the log below : the offending tag is "<t:EmailAddresses></t:EmailAddresses>"...
Best Regards,
Christophe
Extract From DavMail log file :
Date: Fri Mar 24 00:53:26 CET 2017 (1490313206683)
Thread: CaldavConnection-46102
Message #: 5612
Level: DEBUG
NDC:
Category: davmail.caldav.CaldavConnection
Message: > The request failed schema validation: The element 'EmailAddresses' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types' has incomplete content. List of possible elements expected: 'Entry' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'.
request: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:Header><t:RequestServerVersion Version="Exchange2013"/></soap:Header><soap:Body><m:CreateItem MessageDisposition="SaveOnly"><m:SavedItemFolderId><t:DistinguishedFolderId Id="contacts"/></m:SavedItemFolderId><m:Items><t:Contact><t:ExtendedProperty>[....removed to make ticket easier to read....]</t:ExtendedProperty><t:FileAs>My NEW FRIEND</t:FileAs><t:EmailAddresses></t:EmailAddresses></t:Contact></m:Items></m:CreateItem></soap:Body></soap:Envelope>
Location: davmail.caldav.CaldavConnection.sendHttpResponse(CaldavConnection.java:1274)
Thrown:
This one was fixed a long time ago.