Keep Webservice session alive

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?


  • KTA8KTA8 Member Posts: 386
    As you know the concept of webservice itself is against your requeriment. Shouldn't be easier to call your webservice from NAV?
Sign In or Register to comment.