From: Doug O. <do...@pl...> - 2004-02-14 15:31:59
|
Greger Ohlson writes: > You may now register aliases that map to a fully > qualified XML-RPC method name: > > server.registerInvocationHandler( "MyHandler", myHandler ); > server.registerInvocationHandlerAlias( "echo", "MyHandler.echo" ); > server.registerInvocationHandlerAlias( "sum", "MyHandler.sum" ); This works well, thanks! It would also be nice if a similar thing were available for XmlRpcProxy, which currently only sends methodNames with dots. > If requested, the XmlRpcServer could be expanded to reflectively > add aliases given an XmlRpcInvocationHandler like so: > > server.registerInvocationHandlerAliases( myHandler ); > > This would then create aliases automatically for each method > name in the handler. This would be convenient, yes. Again, something similar for XmlRpcProxy would be great too. --...@pl... |