Forum Discussion

Micah_G's avatar
Micah_G
Icon for Nimbostratus rankNimbostratus
Nov 15, 2016

Apache Axis connection timouts with iControl

I have two questions about the Apache Axis implementation in the java iControl lib:

 

Is it possible to configure the http connection timeout for iControl's soap calls? We see the socket timeout set at a default 60 seconds, which is fine, but what about a connection timeout? We're using iControl v11.5 with the v1.4 of Apache Axis that's provided with iControl.

 

Is it possible to swap out Axis 1.x for 2.x? We think that's where we'd need to go (http 1.1) to get control over connection timeouts.

 

Thanks

 

1 Reply

  • Is it possible to configure the http connection timeout?

     

    If Apache Axis v1 supports it, we could set it but I don't believe it's exposed in the library. The lib is open sourced so we could make changes to it quickly. I seem to remember it wasn't exposed in the lower layers or I would have added it up on top.

     

    What is driving this requirement? Are you having a situation where the connection to a BIG-IP is timing out?

     

    Is it possible to swap Axis v1 for v2?

     

    Unfortunately I believe it's No on this one. When we wrote iControl SOAP back in 2001, RPC/ENC was the primary encoding method. Over the years DOC/LIT became the preferred method and Apache removed support for RPC/ENC in v2. Unless they carry forward support for that encoding method, we are stuck with v1.