According to my research JAX-WS client proxies are not thread safe. As such, the thread safeness of the proxy is left to its implementation. According to Apache CXF, their proxies are thread-safe. How about the proxies of Metro? Are they thread-safe? I believe Metro is the default JAX-WS implementation bundled in JDK and other Java EE containers. (Please correct me if I'm wrong.)
Just an additional info, according to my research, Metro proxies are not thread-safe. However, I did not found any official documentation to back it up. Also, I tried to test Metro by sharing a single port with 100 threads and I did not encounter any problem. Could it be because I only use 100 threads? Or is it because I did not made any modification on the BindingProvider
? In the threads, I only use the port to call the web service methods. I did not made any modification on the BindingProvider
. Is there a specific part only in the Metro port which is not thread-safe?