When a contact has a middle name, getFullContact(id).getSurname() returns the middle instead of surname

3 views
Skip to first unread message

sysmo...@gmail.com

unread,
Jun 6, 2017, 9:28:39 AM6/6/17
to jec users
Hello,

I created a contact with first name, last name and middle name. When I try to get it with get the full contact, last name is replaced with middle name. However, Kerio response is 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><GetItemResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"><ResponseMessages><GetItemResponseMessage ResponseClass="Success"><ResponseCode>NoError</ResponseCode><Items><Contact xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><ItemId ChangeKey="MTk2OQ==" Id="MXxJfGtlcmlvZGI6Ly91c2VyL2Q1NzkwYTk2LTM2ZTAtNGM2YS1hMzhhLWNkY2RiNjYwNDNlMy81MTMyODYxNC02ZTlmLTRlNzYtYWRmNy04NDg1OGNmYjYyNjF8ZjVlYjE5YWUtZmM0Yi00NWEzLThhZTAtYWI0NTM1OThkZTYzfDM0M3ww"></ItemId><Subject>First0 middleName Last0</Subject><HasAttachments>false</HasAttachments><Culture>en-US</Culture><FileAs>Last0, First0 middleName</FileAs><CompleteName><FirstName>First0</FirstName><MiddleName>middleName</MiddleName><LastName>Last0</LastName><FullName>First0 middleName Last0</FullName></CompleteName><CompanyName>company</CompanyName><EmailAddresses><Entry Key="EmailAddress1">em...@sysmosoft.com</Entry><Entry Key="EmailAddress2">ema...@sysmosoft.com</Entry><Entry Key="EmailAddress3">ema...@sysmosoft.com</Entry></EmailAddresses><PhysicalAddresses><Entry Key="Business"><Street>workAddressStreet</Street><City>workAddressCity</City><State>workAddressState</State><CountryOrRegion>workAddressCountry</CountryOrRegion><PostalCode>workAddressPostCode</PostalCode></Entry><Entry Key="Home"><Street>homeAddressStreet</Street><City>homeAddressCity</City><State>homeAddressState</State><CountryOrRegion>homeAddressCountry</CountryOrRegion><PostalCode>homeAddressPostCode</PostalCode></Entry></PhysicalAddresses><PhoneNumbers><Entry Key="BusinessFax">workFax</Entry><Entry Key="BusinessPhone">workPhone</Entry><Entry Key="HomePhone">homePhone</Entry><Entry Key="MobilePhone">mobilePhone</Entry></PhoneNumbers></Contact></Items></GetItemResponseMessage></ResponseMessages></GetItemResponse></Body></Envelope>[\r][\n]"
2075 [main] 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><GetItemResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"><ResponseMessages><GetItemResponseMessage ResponseClass="Success"><ResponseCode>NoError</ResponseCode><Items><Contact xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><ItemId ChangeKey="MTk2OQ==" Id="MXxJfGtlcmlvZGI6Ly91c2VyL2Q1NzkwYTk2LTM2ZTAtNGM2YS1hMzhhLWNkY2RiNjYwNDNlMy81MTMyODYxNC02ZTlmLTRlNzYtYWRmNy04NDg1OGNmYjYyNjF8ZjVlYjE5YWUtZmM0Yi00NWEzLThhZTAtYWI0NTM1OThkZTYzfDM0M3ww"></ItemId><Subject>First0 middleName Last0</Subject><HasAttachments>false</HasAttachments><Culture>en-US</Culture><FileAs>Last0, First0 middleName</FileAs><CompleteName><FirstName>First0</FirstName><MiddleName>middleName</MiddleName><LastName>Last0</LastName><FullName>First0 middleName Last0</FullName></CompleteName><CompanyName>company</CompanyName><EmailAddresses><Entry Key="EmailAddress1">em...@sysmosoft.com</Entry><Entry Key="EmailAddress2">ema...@sysmosoft.com</Entry><Entry Key="EmailAddress3">ema...@sysmosoft.com</Entry></EmailAddresses><PhysicalAddresses><Entry Key="Business"><Street>workAddressStreet</Street><City>workAddressCity</City><State>workAddressState</State><CountryOrRegion>workAddressCountry</CountryOrRegion><PostalCode>workAddressPostCode</PostalCode></Entry><Entry Key="Home"><Street>homeAddressStreet</Street><City>homeAddressCity</City><State>homeAddressState</State><CountryOrRegion>homeAddressCountry</CountryOrRegion><PostalCode>homeAddressPostCode</PostalCode></Entry></PhysicalAddresses><PhoneNumbers><Entry Key="BusinessFax">workFax</Entry><Entry Key="BusinessPhone">workPhone</Entry><Entry Key="HomePhone">homePhone</Entry><Entry Key="MobilePhone">mobilePhone</Entry></PhoneNumbers></Contact></Items></GetItemResponseMessage></ResponseMessages></GetItemResponse></Body></Envelope>[\r][\n]"
Reply all
Reply to author
Forward
0 new messages