cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marepalli, Hanumantha Rao" <>
Subject How to modify the default client connection timeout value?
Date Fri, 01 Jun 2007 11:13:40 GMT


I'm running concurrent clients; each client sends requests to the
endpoint for a specified duration, say 5 minutes. Some of my clients get
" Cannot assign requested address" while
establishing connection to the server. To rule out the possibility of
connection timeout, I increased client connection/receive timeout values
to 5 minutes through configuration, but it did not make any difference.


So wondering whether the following approach to modify the client
connection/receive timeout values is correct (The endpointName of my
service is SoapPort and it is listening on 20003 port) -


1. I created xml config file (cxf-config.xml) with the following info -


<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns=""






        <http:client ConnectionTimeout="300000"




2. Supplied the "cxf-config.xml" file as an argument to the macro, like


Does anyone confirm the way I configured is correct? Is there anyway to
find out whether the timeout value that I specified has actually been
picked up? It does not seem to be making any difference, even I set
reduce the timeout value to 1 ms (my invocation takes about 10 ms).


Thanks and Regards


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message