Hi Eric
create a nhttp.properties file as follows and drop it into the classpath
(e.g. SYNAPSE_HOME/lib)
_sample contents_
http.socket.timeout=120000 # <-- this is two minutes for socket timeout
asankha
Eric Nygma wrote:
Hi,
I have a webservice (say WS1) for which I have created a Proxy on Synapse.
WS1 takes about 2 minutes to respond.
I used SOAPUI to act as client to the Proxy (and WS1).
Case [1]:
I used SOAPUI to send a request directly to WS1, after setting the
SocketTimeout to 3mins in SOAPUI. The response was received correctly after
2 mins.
Case [2]:
This time , I used SOAPUI to model a request to the Proxy (on Synapse) for
WS1. I observed that about after 1 min, SOAPUI sent a second request.And so
it happened after every minute.
No this appeared strange because in case[1], SOAPUI sent only a single
request.
Is there some setting in the Proxy service which makes the client send
multiple requests in case it does not receive a reply from the target
endpoint service ?
Thanks in advance.
Eric.
--
Asankha C. Perera
WSO2 - http://wso2.org
http://esbmagic.blogspot.com