Hi all,

I have a GUI that calls a service using CXF. The call is done in a backgorund 
thread and the progress is shown using the eclipse Progress Monitor. When a 
service is slow or does not react then the call "hangs". This does not block 
the user as it is a background thread but still he should be able to cancel the 
call.

So my question is: What is the best practice to cancel a Service call? I guess 
on the eclipse side I have to use a spearate thread to check the 
IProgressMonitor for isCanceled(). But what do I have to do on the cxf side. Do 
I send an interrupt request to the thread?

Thanks

Christian




Christian Schneider
Informationsverarbeitung
Business Solutions
Handel und Dispatching

Tel : +49-(0)721-63-15482

EnBW Systeme Infrastruktur Support GmbH
Sitz der Gesellschaft: Karlsruhe
Handelsregister: Amtsgericht Mannheim ‑ HRB 108550
Vorsitzender des Aufsichtsrats: Dr. Bernhard Beck
Geschäftsführer: Jochen Adenau, Hans-Günther Meier



Reply via email to