Karthik Shekar created AXIS-2930:
------------------------------------
Summary: AXIS 1.4 connection timeout is not working
Key: AXIS-2930
URL: https://issues.apache.org/jira/browse/AXIS-2930
Project: Axis
Issue Type: Bug
Affects Versions: 1.4
Reporter: Karthik Shekar
Hi AXIS Team,
Could you please help me on below issues.
I am trying to hit a soap based backend service in JAVA using axis.
I have set the connection timeout using the below snippet:
LoginProxy proxy = new LoginProxy();
proxy.setEndpoint(endPoint);
LoginServices loginServices = proxy.getLoginServices();
LoginServicesBindingStub bindingObj = (LoginServicesBindingStub)loginServices;
bindingObj.setTimeout(Integer.parseInt(timeout));
String response = bindingObj.my_login(userName, password);
But when the backend is down or taking time to respond the connection is not
getting timeod out.
I tried to browse but there is not much information on what will make it work.
Please provide your valuable suggestion/inputs on the same.
JDK USED : 1.8
AXIS: 1.4
OS: LINUX SOLARIS
Server: Weblogic
Thanks,
Karthik
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]