Hi,

My client initialization code is as below, and on submitting a request to
the web service, it still times-out after 15 seconds. Please help!!

Thank you.
Regards,
Craig

=========begin=========
MultiThreadedHttpConnectionManager manager =
        new MultiThreadedHttpConnectionManager();                    
HttpConnectionManagerParams params = manager.getParams();
params.setSoTimeout(0);
params.setConnectionTimeout(0);
manager.setParams(params);
                    
HttpClientParams p = new HttpClientParams();
p.setSoTimeout(0);
p.setConnectionManagerTimeout(0);

HttpClient httpClient = new HttpClient(p, manager);
Options options;
options = serviceClient.getOptions();
options.setProperty(
        HTTPConstants.CACHED_HTTP_CLIENT, httpClient);
options.setProperty(
        HTTPConstants.REUSE_HTTP_CLIENT, Boolean.TRUE);
                    
options.setTimeOutInMilliSeconds(0);
options.setCallTransportCleanup(true);

=========end=========
-- 
View this message in context: 
http://www.nabble.com/axis2-client-timeout-even-with-timeouts-set-to-0-tp15041918p15041918.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to