We have installed a jax-ws (metro 2.1) web service on two different systems (both windows server 2007) and client is setup on windows xp (these are also 2 different machines). Service is deployed on web sphere 7.0
On one of the system if web service is down or web sphere is down and client tries to call service function it comes back with connection refuse exception.
But on the other system it comes back with connection timeout exception, this connection timeout exception occurs after the timeout is complete so control comes back to client after 1-2 mins but in the former case control comes back immediately because of connection refuse exception.
I want to know what should be the expected behavior at client side if service is down, should it get connection refuse or connection timeout exception?
Thanks in advance, your help is much appreciated here.
Thanks & Regards,