Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
XmlRpc Service Properties
Revision as of 15:32, 18 October 2019 by Slewis.composent.com (Talk | contribs) (Created page with "These following may be provided as '''service properties''' when a remote service is registered. For example: <pre> // (If not explicitly given here, the provider is free to...")
These following may be provided as service properties when a remote service is registered. 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 |