how to delay the execution of AddNodesRequest

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
sudhapc
Hero Member
Hero Member
Posts: 28
Joined: 16 Oct 2018, 12:47

how to delay the execution of AddNodesRequest

Post by sudhapc »

Hi Team,

i am implementing transaction model whereby i will be queuing incoming requests(add,delete) and store input data in internal memory and execute actual operations(ex: calling addnodes) at the end(using custom api transaction commit)
am sending default response for addnodes service to sdk layer initially
when i am trying to execute operations at the end am getting badsecurechannelinvalid error by addnodes service.

after analyzing team came up with below conclusion points

a) Since the response to AddNodesRequest is sent immediately (and even before the method call ‘TransactionCommit’), code is not able to delay the execution of this service. You shall clarify with Unified Automation how to delay the execution of AddNodesRequest.
b) The StatusCode ‘BadSecureChannelIdInvalid’
May be caused by an internal error when your application passes the AddNodesRequest to the SDK layer, since this request is already completed and answered.
secure channel of this session may be replaced by a new one, is refuted.

Post Reply