You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by James Talbut <jt...@spudsoft.co.uk> on 2014/03/10 15:02:24 UTC
Any way to cancel an Async SOAP call?
Hi,
Is there any way at all to actually drop the TCP connection to a service after initiating an asynchronous web service call?
If I call cancel on the future it doesn't do anything to make the request end.
Thanks
Jim
Re: Any way to cancel an Async SOAP call?
Posted by Jim Talbut <jt...@spudsoft.co.uk>.
Hi,
Well I've found a way, but I'm not sure how nasty it is.
I introduce a pair of interceptors that track every in flight exchange from this box, and then have a method that finds one (by URL, rather brute force, but good enough or my use) and closes the conduit.
It would be a lot nicer if there was some way to get the conduit from the Future, but I can't see one.
Jim
On 10 Mar 2014, at 14:02, James Talbut <jt...@spudsoft.co.uk> wrote:
> Hi,
>
> Is there any way at all to actually drop the TCP connection to a service after initiating an asynchronous web service call?
>
> If I call cancel on the future it doesn't do anything to make the request end.
>
> Thanks
>
> Jim