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
Note: If you want to modify the configuration file for a service directly in the file system, you will find the appropriate file in the configuration file ./etc/factory.xml. Details about the configuration can be found in the respective documentation of a service. Otherwise, you can edit the configuration file directly via the respective service in the GUI.
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.
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.