Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

XmlRpc Service Properties

These following may be provided as service properties when a remote service is registered programmatically. For example:

// (If not explicitly given here, the provider is free to choose a default configuration for the service)
props.put("service.exported.configs","ecf.xmlrpc.server");
props.put("ecf.xmlrpc.server.uriContext","http://myhost.com:8080"); // NOTE:  myhost.com:8080 should be exposed via HttpService impl
// Register a new TimeServiceImpl service with the above props
bundleContext.registerService(ITimeService.class, new TimeServiceImpl(), props);

ecf.xmlrpc.server config

Property Name Description Type Default Value
ecf.xmlrpc.server.uriContext   URI context for remote service. NOTE: This *must* correspond to a HttpService impl currently running. This, along with uriPath will complete the URI for the remote service...e.g. the defauilt complete URI is: http://localhost:8181/xml-rpc String   http://localhost:8181/  
ecf.xmlrpc.server.uriPath Path for URI...e.g. /xml-rpc is default. This, along with uriContext will complete the URI for the remote service...e.g. the defauilt complete URI is: http://localhost:8181/xml-rpc String   xml-rpc

Back to the top