Maybe I should send it to this list. It seems that the problem is
in Message.java class which is not thread save. If in my client
code I synchronize the whole Message.class everything works
fine. What do I have to do to write thread safe clients?

Please, send your answers to axis-user as well. Thanks.

-----Original Message-----
From: Ramon Turnes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 3:43 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: Thread safe clients



I have problems when sending two simulaneous requests 
(from different threads) to the same URL. I have been playing
a little bit with axis source code and everything seems to work
if I synchronize the invoke(SOAPEnvelope)  method in
Call.java

Some reasons for this behaviour?

Thanks in advance for any help.


> -----Original Message-----
> From: Ronald Hütter [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 04, 2002 11:08 AM
> To: [EMAIL PROTECTED]
> Subject: Using multiple threads to call the same service
> 
> 
> Does anybody know, whether it is safe to call the same
> service by multiple threads, resulting in overlapping calls?
> 
> BR, Ronald
> 

Reply via email to