Skip to main content
Version: 11.0

Server configuration: Connections element

In a config.xmlserver configuration file, the <Connections> element contains configuration properties for connections used to access the Rules Service. This element has <Connection>,  <RulesServices>,  <RulesService>,  <UsedIn>,and <Service> child elements.

Example

<Connections>
  <Connection name="myconnection" application="TRAVEL" sessionName="myconnection" sessionTimeout="600">
     <RulesServices>
        <RulesService host="localhost" port="9997"/>
        <RulesService host="localhost" port="9998"/>
     </RulesServices>
  </Connection>
  <Connection name="customconnection" application="TRAVEL" sessionName="myconnection" sessionTimeout="600">
     <RulesServices>
        <RulesService host="localhost" port="9997"/>
     </RulesServices>
     <UsedIn>
        <Service name="mycustomservice"/>
     </UsedIn>
  </Connection>
</Connections>

Connections element

Child elements

The following table describes child elements for the <Connections> element:

NameRequiredDescription
ConnectionNo Contains configuration properties for a connection used to access the Rules Service.

Attributes

none

Connection element

Child elements

The following table describes child elements for the <Connection> element:

NameRequiredDescription
RulesServicesNo Contains configuration properties for all Rules Services used in a connection.
UsedInNo Contains a collection of services that are using this connection. If this element does not exists, the information defined at development time (in Service Definer) is used.

Attributes

The following table describes attributes for the <Connection> element:

NameRequiredTypeDescription
nameYesStringThe name of a connection.
applicationYesStringThe USoft application name as defined in Authorizer.
sessionNameYesStringThe session name that a connection uses.
sessionTimeoutYesIntegerThe session timeout in seconds.

RulesServices element

Child elements

The following table describes child elements for the <RulesServices> element:

NameRequiredDescription
RulesServiceNo Contains configuration properties for a Rules Services used in a connection.

Attributes

none

RulesService element

Child elements

none

Attributes

The following table describes attributes for the <RulesService> element:

NameRequiredTypeDescription
hostYesStringThe name of the system that is hosting the Rules Service
portYesIntegerThe port number that the Rules Service is using to listen for requests.

UsedIn element

Child elements

The following table describes child elements for the <UsedIn> element:

NameRequiredDescription
ServiceNo One of the services that are using this connection.

Attributes

none

Service element

Child elements

none

Attributes

The following table describes attributes for the <Service> element:

NameRequiredDescription
nameYesThe name of a Service, as defined in the Service element.