protected WSResponse executeWSRequest(List<NameValuePair> params) throws ApplicationException {
authenticateParameterList(params);
WSResponse wsResponse;
HttpClient httpClient = getHttpClient();
try {
HttpPost httpPost = new HttpPost(getURI(params));
httpPost.setEntity(new UrlEncodedFormEntity(params, CharSet.UTF8));
HttpResponse response = httpClient.execute(httpPost);
int statusCode = response.getStatusLine().getStatusCode();
HttpEntity responseEntity = response.getEntity();
String responseBody = EntityUtils.toString(responseEntity);
EntityUtils.consume(responseEntity);