Hi there. Is there a way to initiate a stop during a request to the AppServer from a .NET Open Client? Is there a method available in the Progress.o4glrt.dll? This would be for stateless and/or state-free sessions. Our AppServer procedures are wrapped around a ON STOP so there would be roll back. Thanks
Hi.
For our java plug-in open client access, we use the TRANSACTION-MODE AUTOMATIC statement in a transaction procedure on the AppServer. Basically, this allows the client to control the scope of the transaction by starting it and either committing or aborting it. For us, it has worked very well. The "Managing Transactions" section of the OE Guide has a pretty straight-forward ABL example. It should work the same for a .Net client as well.
Jeff
Thanks but we're using normal ABL transactions.
You can still wrap the calls to your appservice in a transaction procedure if you want the client to be able to control the cancellation.
From the .NET Open Client you can call the _CancelAllRequests( ) method to raise STOP in the AppServer.
Mike Jacobs