Example #1
0
  public void handle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
      throws IOException, ServletException {

    initTransportListener(httpServletRequest);

    String query = httpServletRequest.getQueryString();
    if (query != null) {
      if (query.indexOf("wsdl2") > 0
          || query.indexOf("wsdl") > 0
          || query.indexOf("xsd") > 0
          || query.indexOf("policy") > 0) {
        processListService(httpServletRequest, httpServletResponse);
      } else {
        super.handle(httpServletRequest, httpServletResponse);
      }
    } else {
      super.handle(httpServletRequest, httpServletResponse);
    }
  }