Services Configuration File

Services Configuration File — File containing settings for the various target Services.

Introduction

ProLinga-Web comes with a services configuration file where various services can be defined. The name of these services should match the name of the service entered by the user (requester) in the URL. For every service is a Host and Port number defined, being a remote Web Service. So here the link is made where a Web Request is send off to. The Web Request will be send to this Web Service and waits until a response returns from this end-point.

A default configuration file looks like this:

<?xml version="1.0" encoding="utf-8" ?>
                                                                                                                          
<!-- ProLinga-Web WebServices File -->
<!-- Copyright (C) 2002-2009 The ProLinga Team. -->
<!-- All Rights Reserved. -->
                                                                                                                          
<ProLinga>
        <WebServices>
                <WebService Name="Default">
                        <ServiceHost>localhost</ServiceHost>
                        <ServicePort>8005</ServicePort>
                </WebService>
                <WebService Name="Runner">
                        <ServiceHost>localhost</ServiceHost>
                        <ServicePort>8005</ServicePort>
                </WebService>
        </WebServices>
</ProLinga>

Unlimited Web Services entries can be entered.

Options

ServiceHost

The name or IP number of the host where to connect to, to present a Web Command.

ServicePort

The TCP port of the host where to connect to, to present a Web Command.