I am facing an issue. I am calling a web service from a stub that has been provided by the web service publisher. Now the issue is that once a connection is established my thread waits for the response from the service and till the response is not received it doesn't timeout. I want to set timeout for this socket so that if response is not received in stipulated timeframe I should be able to go for further processing.
[Important is that I don't want that connection is terminated from my side but is still running from the client side]
I have seen in the stub source by decompining but I cannot find any setTimeout() method in the stub where it is being initialized.
Some queries :
1> Do we have certain steps to establish a connection with a web service that is common for all web services or this is different for all web services.
2> If this is different for all web services where can I find how the connection is established???
Thanks in advance for support.
Joined: Jun 12, 2012
Anything on the above topic.....
subject: Setting timeout in a web service based connection