[
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 doesn't seems to
change 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:
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.
> 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 doesn't seems to
> change 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]