@Override protected void doPost(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { final FlowAttributes flowAttributes = PetalsExecutionContext.initFlowAttributes(); final String flowInstanceId = flowAttributes.getFlowInstanceId(); final String flowStepId = flowAttributes.getFlowStepId(); try { final String requestUrl = request.getRequestURL().toString(); logger.log(Level.MONIT, "", new SoapConsumeFlowStepBeginLogData(flowInstanceId, flowStepId, requestUrl)); this.stats.newPostRequest(); super.doPost(request, response); } catch (Exception t) { this.logger.log(Level.WARNING, "Error when handling a HTTP POST request", t); StepLogHelper.addMonitExtFailureTrace(this.logger, flowAttributes, t, true); throw t; } }