I need to read from the servlet and then post to some other host.

When using Content-Type: application/xml which Entity
(ByteArray/String) should I be using to read from HttpServletRequest
to POST it to some other host. This xml also contains base64 encoded
payload.

encoding on the xml says

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

So I am assuming I should be using

StringRequestEntity(postData, "application/xml", "UTF8"));

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to