DOCS

Adding Additional Server Connections

In the dataspace file, you define all DI Server connections that you want to make available to users. By default, two connections are defined for the server on which Metability has been installed (that is, the User connection and the Admin connection):

<SERVERS>

<SERVER Name="Admin connection"/>

<SERVER Name="User connection"/>

</SERVERS>

...

 

...

<SERVER Name="User connection" host="rochade.asg.com" port="8888" authType="classic" conType="exp"/>

<SERVER Name="Admin connection" host="rochade.asg.com" port="8888" authType="classic" conType="adm"/>

<!--SERVER Name="Admin RPL connection" iniFile="C:\ProgramData\Rochade8\appl\rochade.ini" iniSection="JAVAAPI"

authType="classic" conType="adm"/-->

The Admin connection is preconfigured for using the administration perspective only (that is, conType="adm"). To use this connection, for the user account the privilege Use of RPC calls must be enabled.

An Admin RPL connection is preconfigured but not activated. If you want to use the RPL import/export function or use RPL user exits and scripted queries, you must activate the this connection manually in the dataspace file.

While you can create multiple SERVER entries for non-RPL (pure Java) connections, ASG recommends that you define only one SERVER entry in the XML dataspace file for an RPL-enabled connection. ASG also recommends that you implement user exits and scripted queries by means of Java and/or JavaScript technologies rather than using RPL, avoiding restrictions with regard to parallel server connections.

To the existing entries, you should add analogous lines for any other servers that users might need to access. For example:

<SERVERS>

<SERVER Name="Admin connection"/>

<SERVER Name="User connection"/>

<SERVER Name="User connection 2"/>

<SERVER Name="Test connection"/>

</SERVERS>

...

<SERVER Name="Admin connection" iniFile="C:\Program Files (x86)\Rochade\

appl\rochade.ini" iniSection="JAVAAPI"/>

<SERVER Name="User connection" host="rochade.asg.com" port="8888"/>

<SERVER Name="User connection 2" host="rodev.asg.com" port="8888"/>

<SERVER Name="Test connection" host="test.asg.com" port="8811"/>