Title: Message
Thread.join() only **waits** for the thread to finish.  It does NOT kill/finish/interrupt it.  There is no way to kill/abort/destroy/suicide a thread in Java, as it caused problems in the past with synchronization.  Perhaps JDK1.5 added functionalities for this, didnt have time to look at it. 
 
Specifically to your case, you need to get down to the Axis connection (socket whatever it is), then close it from another thread (started when you clicked that "Stop" button of yours).  Then, your calling thread will get an IOException and then you can handle leaving it gracefully. 
 
At htat point, the Thread.join() can be useful, for instance for the thread handling the button's event to know when the thread is indeed finished.
 
Hope this helps.


-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoyé : mardi, janvier 25, 2005 10:12
À : [EMAIL PROTECTED]
Objet : Re: abort call.invoke (SOAP client call)


I tried the Thread.join(), recommended in that discussion, but it does nothing.


"Ce message est confidentiel, à l'usage exclusif du destinataire ci-dessus et son contenu ne représente en aucun cas un engagement de la part de AXA, sauf en cas de stipulation expresse et par écrit de la part de AXA. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur."

"This e-mail message is confidential, for the exclusive use of the addressee and its contents shall not constitute a commitment by AXA, except as otherwise specifically provided in writing by AXA. Any unauthorized disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately."

Reply via email to