helma.xmlrpc
Class XmlRpcServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--helma.xmlrpc.XmlRpcServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, XmlRpcHandler

public class XmlRpcServlet
extends javax.servlet.http.HttpServlet
implements XmlRpcHandler

A prototype servlet to run XML-RPC.

Note that some clients like the one in Frontier 5 and the first version of XmlRpcApplet had XML-RPC requests hard-coded to URI /RPC2. To work with these clients, you have to configure your servlet environment to respond to /RPC2. This has been fixed in the new version of the XmlRpcApplet.

See Also:
Serialized Form

Field Summary
 XmlRpcServer xmlrpc
           
 
Constructor Summary
XmlRpcServlet()
           
 
Method Summary
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 java.lang.Object execute(java.lang.String methodname, java.util.Vector params)
          Callback method for XML-RPC server
 void init(javax.servlet.ServletConfig config)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlrpc

public XmlRpcServer xmlrpc
Constructor Detail

XmlRpcServlet

public XmlRpcServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet

execute

public java.lang.Object execute(java.lang.String methodname,
                                java.util.Vector params)
Callback method for XML-RPC server
Specified by:
execute in interface XmlRpcHandler