"are axis2 generated stubs thread-safe?" Code Answer


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)

By OverlappingElvis on April 21 2022

Answers related to “are axis2 generated stubs thread-safe?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.