[
https://issues.apache.org/jira/browse/AXIS2-5269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230339#comment-13230339
]
vijay commented on AXIS2-5269:
------------------------------
workaround have u tried
webServiceStub._getServiceClient().getOptions().setProperty(
HTTPConstants.SO_TIMEOUT, new Integer(10000));
webServiceStub.getOptions().setProperty(
HTTPConstants.CONNECTION_TIMEOUT, new Integer(10000));
this actually works for me.
> Axis does not read http connection timeout and socket timeout from the
> axis2.xml file
> -------------------------------------------------------------------------------------
>
> Key: AXIS2-5269
> URL: https://issues.apache.org/jira/browse/AXIS2-5269
> Project: Axis2
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.3
> Environment: JDK1.6/Axis2.1.3
> Reporter: Archana
>
> I am trying to make connection timeout and retry count configurable through
> axis2.xml and it does not read from axis2.xml.
> i had to set them like below.
> webServiceStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(10000);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]