Home » Kerio User Forums » Kerio Connect » EWS Support
  •  
AT MUC

Messages: 6
Karma: 0
Send a private message to this user
Hi,

a software (DOMUS Navi) tries to connect to Kerio Connect via EWS, which doesn't work.

In the errorlog I found this line:

[23/Aug/2016 16:21:27] EwsOperation.cpp: EWS request
SyncFolderHierarchy: error occurred; code 306, description: Only message folder root is allowed in SyncFolderHierarchy request., auth user:
xxxx<_at_>yyyyyyyyy.de


Does somebody have an idea what's the cause of this error may be and how to solve it?

Thanks and kind regards
Markus
  •  
Pavel Špalek (Kerio)

Messages: 270
Karma: 37
Send a private message to this user
Hi,
this type of request is not supported by Connect, there is currently no solution or workaround. If you are able to dump the whole request, I can check if this can be implemented.
Regards

Pavel Špalek
developer - Kerio Connect
  •  
AT MUC

Messages: 6
Karma: 0
Send a private message to this user
The software uses the EWS library from Microsoft and in this case the command "SyncFolderHierarchy".

Is this enough information or do you need more?

Regards
Markus
  •  
AT MUC

Messages: 6
Karma: 0
Send a private message to this user
The function call is

ChangeCollection<FolderChange> fcc = exchangeService.SyncFolderHierarchy(parentFolder.Id, FolderPropertySet, null);
foldersSyncState = fcc.SyncState;


Regards
Markus
  •  
Pavel Špalek (Kerio)

Messages: 270
Karma: 37
Send a private message to this user
The request is supported, but the SyncFolderId is limited in our implementation to distinguished folder msgfolderroot (parentFolder.Id in your sample).

Pavel Špalek
developer - Kerio Connect
  •  
AT MUC

Messages: 6
Karma: 0
Send a private message to this user
As the vendor don't want to support 3rd party software but only exchange, there won't be a change in the API-call. So we have to live with it.

Thanks for your help
Markus
  •  
Pavel Špalek (Kerio)

Messages: 270
Karma: 37
Send a private message to this user
I understand. Our EWS implementation is still evolving, so this functionality can be supported in some future Connect version.

Pavel Špalek
developer - Kerio Connect
  •  
technik@p-i-u.de

Messages: 2
Karma: 0
Send a private message to this user
What does still evolving after 2 years mean? The ERP Manufacturer MyFactory finally got Synchronization Support for Task and Events implemented in it's Product, something that customers have waited long for. They use EWS Services and guess what, it is not working with Kerio.

If it comes to the question of changing the ERP or the Mailserver to Calender and Tasks Synchronization working, the decision would defininetly NOT be towards Kerio. So we really need to get full support in, what should I explain to a customer whom I sold Kerio as "the" compatible alternative to Exchange?

However I think the error in this is case might be easiliy fixable, this is what is generated in the event log.
I am willing to help as much as I can to get this resolved

Regards

Carsten


gSyncRemoteItems 2 / Appointment:An element node 'soap:Header' of the type Element was expected, but node 'Body' of type Element was found. StackTrace: bei Microsoft.Exchange.WebServices.Data.EwsXmlReader.InternalRea dElement(XmlNamespace xmlNamespace, String localName, XmlNodeType nodeType)
bei Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ReadS oapHeader(EwsServiceXmlReader reader)
bei Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ReadR esponse(EwsServiceXmlReader ewsXmlReader)
bei Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase .ReadResponseXml(Stream responseStream)
bei Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase .ReadResponse(IEwsHttpWebResponse response)
bei Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequ est`1.Execute()
bei Microsoft.Exchange.WebServices.Data.ExchangeService.SyncFold erItems(FolderId syncFolderId, PropertySet propertySet, IEnumerable`1 ignoredItemIds, Int32 maxChangesReturned, SyncFolderItemsScope syncScope, String syncState)
bei myfactory.BusinessTasks.Base.ExchangeConnector.AppointmentMe thods.gSyncRemoteItems(ClientInfo oClientInfo, Int32 lConnectionID, String sCreatorName, Int32 lResourceID, ExchangeService oExchangeService, FolderId oCalenderFolderID) in C:\myfactory\30\VB\BusinessTasks\Base\wfBaseExchangeConnecto r\AppointmentMethods.vb:Zeile 250.

Previous Topic: SMTP won't start - port 25 already in use - Stock KC VM appliance
Next Topic: Kerio connect APP windows on terminal server
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Nov 15 05:52:26 CET 2018

Total time taken to generate the page: 0.77771 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.