views:

168

answers:

0

Is there a way to access the Socket object using Axis? Specifically, I need to call the method setTcpNoDelay, in order to disable the Nagle algorithm. This is a requirement in the Service Level Agreement from the Web Service provider.

I cannot find a way to do it in the Axis docs, wiki or otherwise. I am using Axis 1.4, but can switch to Axis2 (or whatever else), if that helps.

Is it possible?

If not, is it possible to do it using another Web Service client framework in Java?

I also tried with the standard JAX-WS -- in that case it was the same problem: no way to access the Socket object.