Using the Web Configuration Application

You can create and maintain configuration files using any text editor (for example, Notepad).

The following XML document represents a blank configuration file for a Web-enabled application.

<?xml version="1.0"?>
<jade_config>
    <application schema="" name="" id="">
        <web_config>
            <connection_name/>
            <application_copies/>
            <session_timeout/>
            <minimum_response_time/>
            <disable_messages/>
            <log_file_name/>
            <disable_logging/>
            <lock_retries/>
            <prompt_on_shutdown/>
            <firewall/>
            <base_uri>
                <protocol/>
                <machine_name/>
                <virtual_directory/>
            </base_uri>
            <support_library/>
            <jade_forms>
                <physical_directory/>
                <maximum_HTML_size/>
                <scrolling_text/>
                <show_modal/>
                <cross_browser/>
                <form_style/>
                <use_html4/>
                <web_events>
                    <control_name/>
                </web_events>
                <image_type/>
                <page_sequencing/>
            </jade_forms>
            <html_documents>
                <home_page/>
                <html_page_sequencing/>
            </html_documents>
            <web_services_provider>
                <read_timeout/>
            </web_services_provider>
        </web_config>
    </application>
</jade_config>

The empty elements represent parameters that you can configure; for example, you can configure the <connection_name/> element with the value WebApp, by replacing the empty element with a non-empty element, as follows.

<connection_name>WebApp</connection_name>

In addition, the application element has three empty attributes that you can configure, as follows.

<application schema="BankingSchema" name="global" id="">

You do not have to edit the XML directly, as JADE provides the Web Configuration application that enables you to create and maintain the configuration files.

The shortcut to run the Web Configuration application has the schema parameter set to JadeMonitorSchema and the application parameter set to JadeWebConfigurator.

You can pass an optional filename command line parameter to specify the name of the file to edit.

The filename parameter must be separated from the standard parameters by the startAppParameters parameter, as follows.

c:\jade\bin\jade.exe schema=JadeMonitorSchema
                     app=JadeWebConfigurator
                     path=c:\jade\system
                     ini=c:\jade\system\jade.ini
                     startAppParameters
                     filename=c:\temp\webservice.xml

Running the application (without startAppParameters and filename parameters) displays the following window.