Jacques Talbot wrote:
"Eoghan Glynn-2" wroteAdrian Corcoran wrote:Does CXF offer support option #2? via wsa for all supported transport?Its supported for HTTP.So, to make the link with another thread: is my understanding below correct? contrarily to axis2 where you have to specify a wireasync boolean toconvince the toolkit to implement option #2, CXF infers from the fact that WSA:ReplyTo is non anonymous that the programmer actually wants asynchronous-on-the wire and behaves accordingly, namely routing the http 202 ACK synchronously and the Reply-To SOAP messageasynchronously Correct? If yes, this is smarter!
Yes, the CXF server-side WS-A layer will automatically react to an imcoming non-anonymous replyTo by responding with a 202 before continueing on the dispatch path. The reply, when eventually ready, is then asynchronously on a separate server->client connection.
On the client-side, if you want CXF to set up the decoupled response endpoint, then some configuration is required ... e.g. the following config fragment sets the client-side HTTP transport up to listen for incoming async responses on localhost:9990/decoupled:
<http:conduit name="{http://tempuri.org}MyPort.http-conduit">
<http:client DecoupledEndpoint="http://localhost:9990/decoupled"/>
</http:conduit>
Cheers,
Eoghan
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
