public String getUserProfileJson() {

		DefaultHttpClient httpClient = new DefaultHttpClient();
		String output = null;
		try {

			// HttpGet httpGetRequest = new HttpGet("http://localhost:9090/spring-rest-service/rest/userprofiles");
			// HttpGet httpGetRequest = new HttpGet("http://localhost:2020/mule-esb/rest/userprofiles");
			HttpGet httpGetRequest = new HttpGet("http://localhost:2021/mule-esb/rest/userprofiles");

			httpGetRequest.addHeader("accept", "application/json");

			HttpResponse response = httpClient.execute(httpGetRequest);

			output = IOUtils.toString(response.getEntity().getContent());

			logger.debug("Raw Output from REST Servie: : \n");
			logger.debug(output);

		} catch (Exception e) {

			logger.debug("Exception received whileconnecting to rest service: ", e);

		} finally {

			if (httpClient != null && httpClient.getConnectionManager() != null) {
				httpClient.getConnectionManager().shutdown();
			}

		}
		return output;

	}