axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Louet (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2022) setting HTTPConstants.SO_TIMEOUT option doesnt seems to work
Date Wed, 24 Jan 2007 11:47:49 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arnaud Louet updated AXIS2-2022:
--------------------------------

    Description: 
on a genrated stub at construction time,  the following code doesnt seems to chanage the default
timeout:
_serviceClient.getOptions().setProperty(HTTPConstants.SO_TIMEOUT,new Integer(5*60*1000));

the following call works though
_serviceClient.getOptions().setTimeOutInMilliSeconds(5*60*1000);


the documentation ( http://ws.apache.org/axis2/1_1_1/http-transport.html#timeout_config )
implies that both methods should work.

  was:
deriving from a genrated stub and calling the following when constucting the stub doesnt seems
to chanage the default timeout:
_serviceClient.getOptions().setProperty(HTTPConstants.SO_TIMEOUT,new Integer(5*60*1000));

the following call works though
_serviceClient.getOptions().setTimeOutInMilliSeconds(5*60*1000);


the documentation ( http://ws.apache.org/axis2/1_1_1/http-transport.html#timeout_config )
implies that both methods should work.


> setting HTTPConstants.SO_TIMEOUT option doesnt seems to work
> ------------------------------------------------------------
>
>                 Key: AXIS2-2022
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2022
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2
>         Environment: jdk1.5 windows XP
>            Reporter: Arnaud Louet
>
> on a genrated stub at construction time,  the following code doesnt seems to chanage
the default timeout:
> _serviceClient.getOptions().setProperty(HTTPConstants.SO_TIMEOUT,new Integer(5*60*1000));
> the following call works though
> _serviceClient.getOptions().setTimeOutInMilliSeconds(5*60*1000);
> the documentation ( http://ws.apache.org/axis2/1_1_1/http-transport.html#timeout_config
) implies that both methods should work.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message