I am running a test in eclipse that hangs when I use
setRequestEntity. When I uncomment it doesn't hang and the server
returns error. Can someone please give me some pointers?
ByteArrayRequestEntity entity = new
ByteArrayRequestEntity(body.getBytes(), "application/xml");
httpMethod.setRequestHeader("Content-type", "application/xml");
httpMethod.setRequestEntity(entity); // Hangs if I leave
it uncommented
log.info("Call " + httpMethod.getURI());
client.executeMethod(httpMethod);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]