Hi Asanka, 

Thanks for the quick reply.

I should have given more details on our client settings but, it is
currently configured to receive responses on a separate transport
channel (asynchronous) and it has WS-addressing enabled (WS-addressing
is enabled in our client, synapse ESB and web service). The transports
used from client to ESB to web service and back are all regular http (no
https). Also, there are no firewalls or anything like that along the way
as we are testing on a test-rig!)

The reason we are looking for a configuration problem within the ESB is
simply because when the client calls the web service directly, no
HttpClient connection loss occurs after 60 secs (no matter how long the
response takes).

Regards,

Diego.

> We are using a Synapse ESB (1.2) to mediate web service calls to a web

> service. In testing, we have an Axis2 client whose requests are sent 
> to our Synapse ESB which, then forwards the request to the web 
> service. The web service itself can take a long time (10mins+) to send

> a response back. The problem we have is that the client's http 
> connection to the ESB is closed after 60 seconds and re-tries to send 
> the request up to four times before giving up.
>   
This is the default behavior of the Axis2 client side, which uses
HttpClient
> If our client sends the request to the web service directly, the 
> client happily waits 10mins+ for a response to come back.
>   
Irrespective of the fact that this works or not, I would very strongly
suggest that waiting on a open socket for a synchronous reply for 10 
minutes+ does not look like a good approach.. what you should ideally
use is WS-Addressing, and receive the reply on a new channel. With
http/s and real life situations, an http/s connection does not live this
long, and many intermediate nodes may disconnect the connection during
such a long period of inactvity
The information contained in this E-Mail and any subsequent 
correspondence is private and is intended solely for the intended 
recipient(s).  The information in this communication may be 
confidential and/or legally privileged.  Nothing in this e-mail is 
intended to conclude a contract on behalf of QinetiQ or make QinetiQ 
subject to any other legally binding commitments, unless the e-mail 
contains an express statement to the contrary or incorporates a formal Purchase 
Order.

For those other than the recipient any disclosure, copying, 
distribution, or any action taken or omitted to be taken in reliance 
on such information is prohibited and may be unlawful.

Emails and other electronic communication with QinetiQ may be 
monitored and recorded for business purposes including security, audit 
and archival purposes.  Any response to this email indicates consent 
to this.

Telephone calls to QinetiQ may be monitored or recorded for quality 
control, security and other business purposes.

QinetiQ Limited
Registered in England & Wales: Company Number:3796233
Registered office: 85 Buckingham Gate, London SW1E 6PD, United Kingdom
Trading address: Cody Technology Park, Cody Building, Ively Road, Farnborough, 
Hampshire, GU14 0LX, United Kingdom 
http://www.qinetiq.com/home/notices/legal.html

Reply via email to