resolveNames throws a NullPointerException:
4274 [main] ERROR ch.sysmosoft.sense.pim.exchange.webservices.manager.ContactsManagerWebServices - Error finding contacts in the directory
java.lang.NullPointerException
at jec.engine.contact.EWSContactsHandler.parseResolveNamesFromXMLString(EWSContactsHandler.java:1092)
at jec.engine.contact.EWSContactsHandler.resolveNames(EWSContactsHandler.java:1025)
at jec.EWSConnector.resolveNames(EWSConnector.java:1062)
Howerver the response seems correct:
DEBUG [httpclient.wire.content] << "<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Header><ServerVersionInfo xmlns="http://schemas.microsoft.com/exchange/services/2006/types" MinorBuildNumber="3" MajorBuildNumber="123" MinorVersion="3" MajorVersion="14" Version="Exchange2010_SP2"></ServerVersionInfo></Header><Body><ResolveNamesResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"><ResponseMessages><ResolveNamesResponseMessage ResponseClass="Warning"><MessageText>Multiple results were found</MessageText><ResponseCode>ErrorNameResolutionMultipleResults</ResponseCode><DescriptiveLinkKey>0</DescriptiveLinkKey><ResolutionSet TotalItemsInView="2" IncludesLastItemInRange="true"><Resolution xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><Mailbox><Name>Mark Vincent</Name><EmailAddress>mvinc...@kerio9.notify.net</EmailAddress><RoutingType>SMTP</RoutingType><MailboxType>Mailbox</MailboxType></Mailbox><Contact><DisplayName>Mark Vincent</DisplayName><GivenName>Mark</GivenName><EmailAddresses><Entry Key="EmailAddress1">mvincent@kerio9.notify.net</Entry><Entry Key="EmailAddress2">mvincent@kerio9.notify.net</Entry></EmailAddresses><ContactSource>ActiveDirectory</ContactSource><Surname>Vincent</Surname></Contact></Resolution><Resolution xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><Mailbox><Name>Mark Vincent</Name><EmailAddress>mvinc...@kerio9.notify.net</EmailAddress><RoutingType>SMTP</RoutingType><MailboxType>Contact</MailboxType></Mailbox></Resolution></ResolutionSet></ResolveNamesResponseMessage></ResponseMessages></ResolveNamesResponse></Body></Envelope>[\r][\n]"
The only difference I see with real Exchange Server, is XML namespace (m:ResolutionSet on Exchange, ResolutionSet on Kerio)
--
You received this message because you are subscribed to the Google Groups "jec users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jec-users2+unsubscribe@googlegroups.com.
To post to this group, send email to jec-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/jec-users2.
For more options, visit https://groups.google.com/d/optout.