I am trying to use the client ip address example here: http://ws.apache.org/xmlrpc/faq.html#client_ip, but it doesn't compile:

   [javac] <my path>/MyXmlRpcServlet.java:34: cannot find symbol
[javac] symbol : method newRequestProcessor(java.lang.Class,org.apache.xmlrpc.XmlRpcRequest) [javac] location: class org.apache.xmlrpc.server.RequestProcessorFactoryFactory.RequestSpecificProcessorFactoryFactory [javac] (RequestInitializableRequestProcessor) super.newRequestProcessor(pClass, pRequest); [javac] ^ [javac] <my path>/MyXmlRpcServlet.java:35: init(<my package path>.MyConfig) in <my package path>.RequestInitializableRequestProcessor cannot be applied to (org.apache.xmlrpc.XmlRpcRequestConfig)
   [javac]                 proc.init(pRequest.getConfig());
   [javac]                         ^
[javac] <my path>/MyXmlRpcServlet.java:39: setRequestProcessorFactoryFactory(org.apache.xmlrpc.server.RequestProcessorFactoryFactory) in org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping cannot be applied to (org.apache.xmlrpc.server.PropertyHandlerMapping)
   [javac]         mapping.setRequestProcessorFactoryFactory(mapping);
   [javac]                    ^

I can't find any other information on what this is supposed to be doing. Is there an updated version of the example somewhere?

Kimberly Nicholls



Reply via email to