Hi all,
I want to test whether or not a TSoapConnection can actually communicate with the server before applying updates. Reading the Active property of the TSoapConnection does not help as it maintains a 'True' value even if the connection drops. I tested it by launching my app and then stopping the IIS service on the server - the connection still remained active but the app raised an ESOAPHTTPException after I tried to ApplyUpdates for a Client Dataset. Is there any other way to do this besides putting the ApplyUpdates code of the TClientDataset in a try...except block? I want to use the TSoapConnection to determine if there is connectivity.
Thanks for your help.
Liam
I want to test whether or not a TSoapConnection can actually communicate with the server before applying updates. Reading the Active property of the TSoapConnection does not help as it maintains a 'True' value even if the connection drops. I tested it by launching my app and then stopping the IIS service on the server - the connection still remained active but the app raised an ESOAPHTTPException after I tried to ApplyUpdates for a Client Dataset. Is there any other way to do this besides putting the ApplyUpdates code of the TClientDataset in a try...except block? I want to use the TSoapConnection to determine if there is connectivity.
Thanks for your help.
Liam