Hello,
I have a requirement to setup a WS client to do some asynchronous call,
based on ws-addressing : the idea is to set the "replyTo" wsa property so
that the client just send the request and just wait for the HTTP 202
(accepted), and not for the entire response that will come far latter.
I've tested the CXF ws-addressing example, and configured it for
asynchronous code generation - this works fine, but I'm not convinced my
client waited for the HTTP 202 transport-level reponse, and have no idea how
I could check this.
Could someone confirm this, and give me an idea how to implement this
half-asynchronous scenario :
client
| ------------------------> Request <wsa:replyTo="X">
| Server
| <------------- HTTP 202 accepted ---------------- |
|
does some other work (asynchronously) | process...
|
| <------------- Response ------------------------- |
AsyncHandler<Response>
| ------------- HTTP 200 -------------------------> |
Cheers,
Nicolas