String body = IOUtils.toString(stream, bodyEnc);
if ( stream != null ) {
    protected Map parseRequestArguments(HttpServletRequest req) throws Exception    {        try {            Map args = super.parseRequestArguments(req);                        InputStream stream = req.getInputStream();                        if ( stream != null ) {                            String bodyEnc = req.getCharacterEncoding();                if ( bodyEnc == null )                     bodyEnc = inputEncoding;                                String body = IOUtils.toString(stream, bodyEnc);                                if ( body != null && !"".equals(body) ) {                                      // parse request body through entry parser                    EntryList entryList = new EntryParser().parse(body, bodyEnc);                    args.put(Constants.PARAM_ENTRIES, entryList);                                        if ( LOG.isDebugEnabled() ) {                        LOG.debug("**************************************************");                        LOG.debug("RequestBody: encoding "+bodyEnc+"\n");                        LOG.debug(body);                        LOG.debug("**************************************************");                    }                }            }                        return args;                    } catch(ParseException ex) {            Throwable t = ex.getCause() == null ? ex : ex.getCause();            throw new OperationException("Can't parse entry-xml in request", t);        }    }