InputStreamEntityProvider isep = new InputStreamEntityProvider();
addMessageBodyReader(isep);
addMessageBodyWriter(isep);
ReaderEntityProvider rep = new ReaderEntityProvider();
addMessageBodyReader(rep);
addMessageBodyWriter(rep);
SAXSourceEntityProvider saxep = new SAXSourceEntityProvider();
addMessageBodyReader(saxep);