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