Hi, it is also possible to change on server side (if you want). You can define your own "request handling" where you can implement mapping between xml rpc calls and your code as you want. But maybe it would be easier to change the client ;-) see api:
XmlRpcServer : public void *setHandlerMapping*(XmlRpcHandlerMapping <http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/server/XmlRpcHandlerMapping.html> pMapping) XmlRpcHandler: java.lang.Object *execute*(XmlRpcRequest <http://ws.apache.org/xmlrpc/apidocs/org/apache/xmlrpc/XmlRpcRequest.html> pRequest) Regards Stano On Thu, Apr 23, 2009 at 08:39, Markus Meyer <[email protected]> wrote: > James, > > thanks for answering. The simple reason is that the interface was defined > like this. The client has already been written but the server has not. If > this would not be possible, the interface definition would need to be > adjusted and the client changed. The client is written in Python and with > the "xmlrpclib" module in Python there is no such limitation. > > > Markus > > James Dumay schrieb: > > Oh sorry, I didn't read this correctly (thats what you get for emailing >> when your up late). >> >> I don't think thats possible - any particular reason this is needed? >> >> James >> >> ----- Original Message ----- >> From: "Markus Meyer" <[email protected]> >> To: [email protected] >> Sent: Wednesday, April 22, 2009 10:21:46 PM GMT +10:00 Canberra / >> Melbourne / Sydney >> Subject: Renaming XML RPC functions >> >> Hi everyone, >> >> can I rename XML-RPC functions so they appear without the class name? For >> example, to execute the "add" function in the "Calculator" class from the >> tutorial, a XML-RPC client has to call "Calculator.add" instead of just >> "add". I need to implement a server which uses function names without the >> class name. Can I change this so the client only has to call "add"? >> >> Thanks in advance! >> >> Regards >> Markus >> >> >> > >
