1 7 package org.jboss.jaxr.juddi.axis; 8 9 import org.jboss.axis.transport.http.AxisServlet; 10 11 import javax.servlet.http.HttpServletRequest ; 12 import javax.servlet.http.HttpServletResponse ; 13 import javax.servlet.ServletException ; 14 import java.io.IOException ; 15 16 22 public class JBossJuddiAdminServlet extends AxisServlet 23 { 24 27 public void doGet(HttpServletRequest req, HttpServletResponse res) 28 throws ServletException , IOException 29 { 30 res.setHeader("Allow","POST"); 31 res.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED,"The request " + 32 "method 'GET' is not allowed by the jUDDI Admin API."); 33 } 34 } 35 | Popular Tags |