I need to know if a client of my web service has successfully received a message. If the client does not receive the message (network goes down for the client in the middle of the call), I want to rollback my changes, so the next call they make will give them the same data that they attempted to get the first time.
Each call to the web service gives them a sequential "page" worth of data, and I don't want them to miss a "page". If I can't tell when the transmission fails, I will not be able to roll back so the client will potentially have to call support to tell them about the missing "page".
I tried killing the client process in the middle of a lengthy call, while the server was still doing some data processing, but the server just kept right on going and finished successfully.
This is a Java web service using Axis2 and JBoss with SOAP. I am digging into the documentation for some settings about this, so hopefully it is possible to configure.