When invoking a web service using RestTemplate:- restTemplate.getForObject(“http://www.server.com/api”, Bean[].class)); … the following exception occurs:- Exception in thread “main” org.springframework.web.client.RestClientException: Could