Hi,
That's seems a good idea but how can I know which thread I should abort.
I mean if I running my first web service and it is too long I want to
abort and call a second web service doing that. But how can I give the
second one an unique parameter on the first one as the first is still
running and did give me back anything?
I don't know if I 'm clear ... do you have any idea of this ?
Thanks
Camille
##########################################################################################
Hi!
My approach would be to have a second service that is provided with some
unique parameters of the first (long running) call, that internally
aborts the first call with "traditional" thread communication means.
Another approach would be to decompose the long running WS into smaller
fractions if that is possible and feasible.
Best regards,
--
DI Günter Grossberger
Consultant Tel: +43 1 329 50 161
Software AG Österreich Fax: +43 1 329 50 171
Guglgasse 7-9 GSM: +43 676 833 29 261
1030 Wien http://www.softwareag.com/austria
> -----Original Message-----
> From: HOFFMANN Camille [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 24, 2005 11:21 AM
> To: [email protected]
> Subject: How can I cancel a web service call?
>
> Hi,
>
> I'm currently working on a simple web service working with Axis 1.2.1
> and Tomcat 5.
> This web service is working perfectly but I have a problem with long
> running calls.
> In fact I would like to know how I can cancel a call which is
> taking to
> much time?
>
> Did anybody have this problem before or know how to do this?
>
> Thanks,
>
> Camille
>
>
>