xml-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanj...@locus.apache.org
Subject cvs commit: xml-soap/java/src/org/apache/soap/server/http RPCRouterServlet.java
Date Thu, 10 Aug 2000 02:40:36 GMT
sanjiva     00/08/09 19:40:36

  Modified:    java/src/org/apache/soap/server/http RPCRouterServlet.java
  Log:
  added doGet (x,x) to say "Sorry, no can do."
  
  Revision  Changes    Path
  1.2       +9 -0      xml-soap/java/src/org/apache/soap/server/http/RPCRouterServlet.java
  
  Index: RPCRouterServlet.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/server/http/RPCRouterServlet.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RPCRouterServlet.java	2000/08/08 06:32:04	1.1
  +++ RPCRouterServlet.java	2000/08/10 02:40:36	1.2
  @@ -105,6 +105,15 @@
       }
     }
   
  +  public void doGet (HttpServletRequest req, HttpServletResponse res)
  +       throws ServletException, IOException {
  +    PrintWriter out = res.getWriter ();
  +
  +    out.println ("<body><h1>SOAP RPC Router</h1>");
  +    out.println ("<p>Sorry, I don't speak via HTTP GET- you have to use");
  +    out.println ("HTTP POST to talk to me.</p></body>");
  +  }
  +
     public void doPost (HttpServletRequest req, HttpServletResponse res) 
          throws ServletException, IOException {
       // locate the rpcrouter and service manager
  
  
  

Mime
View raw message