You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org> on 2005/09/22 16:07:47 UTC

[jira] Resolved: (AXIS2-236) Make timeout on client configurable

     [ http://issues.apache.org/jira/browse/AXIS2-236?page=all ]
     
Ruchith Udayanga Fernando resolved AXIS2-236:
---------------------------------------------

    Resolution: Fixed

Fixed

Now we can use HTTPConstants.SO_TIMEOUT and HTTPConstants.CONNECTION_TIMEOUT to set the timeout values for the CommonsHTTPTransportSender. 

For example if a client uses Call:
 call.set(HTTPConstants.CONNECTION_TIMEOUT,new Integer(120000));

These values can be set in the axis2.xml as well but if the values are set dynamically as a property (as shown earlier) then the value defined in axis2.xml will be overridden.

> Make timeout on client configurable
> -----------------------------------
>
>          Key: AXIS2-236
>          URL: http://issues.apache.org/jira/browse/AXIS2-236
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement
>     Versions: 0.91
>  Environment: java
>     Reporter: Steve Loughran
>     Priority: Minor

>
> In CommonsHttpTransportSender, the timeout for a read is hard coded to 60s. this is too short for debugging sessions, and for some uses of blocking two-way SOAP. Please make this a configurable option.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira