httpPostMethod.setRequestHeader("Content-Type", "text/xml");
httpPostMethod.setRequestEntity(new StringRequestEntity(sb.toString()));
httpClient.executeMethod(httpPostMethod);
return httpPostMethod.getResponseBodyAsString() + "\n";
} finally {
mgr.shutdown();
}
}
public static void main(String[] argv) {
if (argv.length == 0 || HELP.matches(argv)) {