/** * Override the AxisServlet doGet to use the TuscanyListingAgent for ?wsdl */ @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { initContextRoot(request); String query = request.getQueryString(); if ((query != null) && (query.indexOf("wsdl2") >= 0 || query.indexOf("wsdl") >= 0 || query.indexOf("xsd") >= 0 || query.indexOf("policy") >= 0)) { agent.processListService(request, response); } else { super.doGet(request, response); } }
@Override protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { final String queryString = request.getQueryString(); try { this.probeHttpServerThreadPoolActiveThreads.pick(); this.probeHttpServerThreadPoolIdleThreads.pick(); this.probeHttpServerThreadPoolQueuedRequests.pick(); } catch (final ProbeNotStartedException e) { this.logger.warning("HTTP probes are not started. Values of probes could be incorrect."); } if (isImportWSDLRequest(queryString)) { printImportedDocuments(request, response); } else { this.stats.newGetRequest(); super.doGet(request, response); } }