Hi,
Has anybody tried calling the method connection.call(requestMsg, url); of
SOAPConnection to send a soap message to a remote destination from multiple
threads? Is it thread safe? There is no info in description about thread safety
but by looking at the code from Google, it seems that this method uses mainly
stack variables, e.g. has an HttpUrlConnection object in stack and uses it. I
can not see a problem if connection.call(requestMsg, url) is called by multiple
threads despite that there is no synchronized blocks.
I would expect that the result is that the threads would send their message
through different http connections. This is what I want. Can I safely call the
connection.call(requestMsg, url); from multiple threads and expect this result
without any undesirable side-effects? Can someone help me on this?
Thank you!