Are client stubs generated from WSDL by Axis2 thread-safe?
Of course, \"thread-safe\" isn\'t necessary a rigorously defined term, so I\'m at least interested in the
I'm not sure about axis2, but at least axis1 generates non-threadsafe client stubs. I got the impression pretty much every other SOAP client was non-threadsafe as well. If I remember correctly the issue was with the XML parsing library being used in a non-threadsafe way by the client stub.
Using apache commons-pooling to pool the instances and using each one from one thread at a time worked well though.
Update: For Axis2, see https://issues.apache.org/jira/browse/AXIS2-4357 (claims Axis2 is not threadsafe, by design)