> Magnus ?or Torfason wrote:
>
> > What i'm thinking of is adding a:
> >
> > registerRpcHandler(String handlerName, Object handler);
> >
> > As well as adding code in the init() function to enable handlers to
> > be specified through the service properties.
>
> Nice! Could you please tell how would be referenced by the XMLRPC client
> (what URL)?
>
> Rafal

I'd just call some setupcode and then

xmlrpcServer = new helma.xmlrpc.WebServer (555);

Which would cause a server to be started, listening on the URL

http://hostname:555/RPC2

handlers are added with

xmlrpcServer.addHandler ("handlername", new HandlerClass() );

(and I would set them up dynamically with the help of a property file)

clients are created directly with helma.xmlrpc or by using the client
service (which is already implemented)

I'll do this probably early next week.

Magnus



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to