Настройка синхронизации ТСД с УНФ 1.6 через web-сервис

shureek 2 года назад обновлен Никита Котов 2 года назад 1

Не получается настроить синхронизацию ТСД с УНФ 1.6 через веб-сервис.

Мастер подключения проходит до конца успешно, адрес публикации 1С на веб-сервере указан корректно (запрос через браузер http://server/business/ws/CleverenceWebExtension.1cws?wsdl проходит успешно).

В ТСД при открытии номенклатуры (должен читать с сервера) пишет:

Ошибка сервера: Server was unable to process request ---> Exception has been thrown by the target of an invocation ---> The operation has timed out

В логах тоже ошибка таймаута:

//-------------------------------
2022-03-15 12:05:46.6450|ERROR|NLogger.Write|
The operation has timed out Exception has been thrown by the target of an invocation. Ошибка исполнения коннектора OneC_Connector для события ListProducts
[SOURCE] Cleverence.Common.NLogger
[EXCEPTION MESSAGE]
System.Exception Ошибка исполнения коннектора OneC_Connector для события ListProducts
TargetInvocationException Exception has been thrown by the target of an invocation.
WebException The operation has timed out
[STACKTRACE]
<>c__DisplayClass29_1.b__0 => ServerEventsStrategyBase.ProcessGeneralEvent => NLogger.Write

[DATA]
//-------------------------------


//-------------------------------
2022-03-15 12:05:46.6450|ERROR|NLogger.Write|
The operation has timed out Exception has been thrown by the target of an invocation.
[SOURCE] Cleverence.Common.NLogger
[EXCEPTION MESSAGE]
System.Reflection.TargetInvocationException Exception has been thrown by the target of an invocation.
WebException The operation has timed out
[STACKTRACE]
DataStorage.GetCollection => DataStorage.ProcessException => NLogger.Write
at Cleverence.Connectivity.ServerEventsStrategyBase.ProcessConnectorEvent(IConnectivityBase connector, String methodName, EventType eventType, ServerEventResult prevRet, ServerEventParams prms)
at Cleverence.Connectivity.ServerEventsStrategyBase.RunConnectorEvent(IConnectivityBase connector, String methodName, EventType eventType, ServerEventParams prms, ServerEventResult& ret, Object& customObj)
at Cleverence.Connectivity.ServerEventsStrategyBase.RunEventInternal(EventType eventType, ServerEventParams prms)
at Cleverence.Warehouse.ServerEvents.InvokeGetProductsList(FieldInfoCollection fields, DeviceInfo deviceInfo, String parentProductId, String clientIp, Boolean& isDemo)
at Cleverence.Warehouse.ServerEvents.GetInvokeCollection(DeviceInfo deviceInfo, String strObject, String clientIp, Boolean& isServerCollection)
at Cleverence.Warehouse.DataStorage.GetCollection(String strObject, String strDeviceInfoXml)
[DATA]
//-------------------------------

При обмене через COM открывает нормально (но там другие моменты не работают, так что хочется настроить по-нормальному через web-сервис)

P. S. В базе много номенклатуры (> 100000).

Здравствуйте, заведите пожалуйста заявку на портале технической поддержки Клеверенс - Service Desk (cleverence.ru)

Вам помогут

Сервис поддержки клиентов работает на платформе UserEcho