post.setRequestEntity(new StringRequestEntity(
"<soap:Envelope xmlns:soap='http://www.w3.org/2003/05/soap-envelope'>"
+ "<soap:Body><hello>world</hello></soap:Body>" + "</soap:Envelope>"));
new HttpClient().executeMethod(post);
if (post.getStatusCode() != 200) {
throw new InvalidStatusResponseException(post.getStatusCode());
}
logger.info(post.getResponseBodyAsString());
}