Ejemplo n.º 1
0
 public void processviewServiceContext(HttpServletRequest req, HttpServletResponse res)
     throws IOException, ServletException {
   String type = req.getParameter("TYPE");
   String sgID = req.getParameter("PID");
   String ID = req.getParameter("ID");
   ServiceGroupContext sgContext = configContext.getServiceGroupContext(sgID);
   if (sgContext != null) {
     AxisService service = sgContext.getDescription().getService(ID);
     ServiceContext serviceContext = sgContext.getServiceContext(service);
     req.setAttribute("ServiceContext", serviceContext);
     req.setAttribute("TYPE", type);
   } else {
     req.setAttribute("ServiceContext", null);
     req.setAttribute("TYPE", type);
   }
   renderView("viewServiceContext.jsp", req, res);
 }