I have a Codeunit published as a webservice (NAV 2018).
When I call one of the functions in the codeunit by calling the webservice from my .NET code, a webservice session is started in which this function is executed and thereafter the webservice session stops. This is normal behaviour.
But, I want to keep the webservice session alive for event listening!
Is there any trick to prevent the session from stopping?