XMLRpcClientService

The XmlRpcClientService allows access to XML-RPC servers in a similar manner as offered by the DatabaseService or related services. For this, the servers to be connected are addressed via aliases. Knowledge of the underlying system is then no longer necessary.

XML configuration


Important note: The availability of a service depends on the license purchased and whether the service has been registered in the configuration file ./etc/factory.xml of the Service Factory (changes require server restart!). There you will also find the responsible configuration file for a service, otherwise you can also edit the configuration file of the service directly in the GUI of the service (changes require a service restart!).

Adding a new server


The following XML fragment adds a new server to the XmlRpcClientService.


<Call name="initServer">
<Arg>
<New class="com.ebd.hub.services.xmlrpc.ServerSettings">
<Set name="alias">test1</Set>
<Set name="ip">localhost</Set>
<Set name="port">5000</Set>
<Set name="expandEmptyElements">true</Set>
</New>
</Arg>
</Call>


The individual parameters have the following meaning.


Parameter

Description

alias

The alias with which the connected server can be addressed by applications.

ip

The IP of the server to be connected.

port

The port on which the server to be connected listens for incoming XML-RPC calls.

expandEmptyElements

If this value is set to "true", tags that do not contain a value will be fully spelt out. For example as <tag></tag> and not in the equally XML-compliant shortened spelling <tag/>. This is sometimes necessary, for example, if the XML parser of the connected system is not able to process shortened tags and reacts with an error message.

logManager

The name of the LogManager to be used.

password

The password of the administrator for the administration of the workflow system.

saveInterval

The interval in milliseconds to wait between two save processes.

storageService

The name of the StorageService to be used.

Log level dependencies


Changes to the log level of the LogService have no influence on the logging behaviour of the XMLRpcClientService. Similarly, setting the verbose mode has no effect.