Skip to main content
Jump to: navigation, search

XmlRpc Service Properties

Revision as of 14: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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Back to the top