axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Shekar (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Created] (AXIS-2930) AXIS 1.4 connection timeout is not working
Date Fri, 25 Jan 2019 05:21:00 GMT
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message