I am retriving some data based on URL. This URL internally acts as webservice client to fetch data from other location and returns back the data.
There are chances that the webservice will be down which will directly impact in fetching the data.
What percaution should be taken to avoid such scenario? Is there any way we can add some time constraint or make the call asynchronous?
Your help is highly appreciated.
Thanks in advance.