I have a Delphi enterprise application that acts as a client for a Java backend (SOAP, Axis2). Some of my requests take an indeterminate or especially large amount of time to complete, and I would like to implement a long polling solution for SOAP requests.
To the best of my knowledge, I would typically use WS-Addressing for this. It seems, however, that the Delphi SOAP client (WCF) does not implement WS-Addressing.
I am locked into Java and Delphi. I use Axis 2 components, such as lifecycles, but it would be possible for me to transition to another web service engine. I control both the server and client side.
What are my options for implementing long polling in Delphi and Java?