We are using 6.5 version and using webServices for some real time interfaces.
Service being used is pub.client:soapHTTP.
one day the web link to which we are sending the soap data was in hunged state,our flow service didnt timed out and was in running state continuosly for 3 days .then we restarted the server and after that it worked bcus at client side also they restarted their web service.
Just wanted to know y it didnt time out even if the client side link was down for 3 days.it should be catched and thrown in the exception,isnt it?
where do we set the time out properties?
what is the response of pub.client:soapHTTP service if http link is down?
I don’t understand what that means. Do you mean the property is not set? That the property was not honored (or isn’t used) in this specific case?
Take a look at the description of service timeout. If the service never returns, a service timeout will never occur. The service timeout feature is kind of weak–it will throw an exception if the service being called took to long to complete, but it will not “interrupt” that call. The service call must complete first and then IS will assess whether or not a timeout occurred.
I think this is what watt.net.timeout is supposed to address but I may be mistaken.
The solution I used in the past was to create a flow to contain only the call to the web service and then invoke that service on a separate thread. Using the timeout value on the pub.sync:wait service you can choose how long you wish to wait for the thread to complete.
Search these forums for notifyOnSuccess and / or notifyOnError. Those threads discussed some utility services that you could build to better manage services (flow or java) invoked on their own threads.
Hi,
I was thinking of a similar approach. But is that the only way around. We had to resort to restarting our IS every time this occurs and we are making huge number of soapHTTP and HTTP calls (like 30K-40K every hour) which resulting quite a few hung threads.
Some one mentioned that there is a timeout as http/soaphttp call level if we have SP3 applied. Can anyone confirm this.