396 IBM Express Runtime V2.1
The application.axml file
Example C-1 shows the source of the application.axml file.
Example: C-1 Source of application.axml
<?xml version="1.0" ?>
<iru:application
id="Flght400"
xmlns:iru="http://www.ibm.com/xmlns/prod/iru/application"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.ibm.com/xmlns/prod/iru/application IRU_application.xsd">
<applicationInformation
installTime="12"
version="1.0">
<name>Flght400</name>
<operatingSystems>
<operatingSystem>OS/400</operatingSystem>
</operatingSystems>
</applicationInformation>
<translationLanguages default="english">
<language>english</language>
</translationLanguages>
<externalJars>
<externalJar>../../externalSupportJars/jt400Native.jar</externalJar>
</externalJars>
<fileLists>
<fileList id="softwareimagefiles">
<file>Flght400.ear</file>
</fileList>
<fileList
id="userprogramfiles"
userPrograms="true">
<file>com/ibm/flght400/SampleCommands.class</file>
<file>com/ibm/flght400/SampleCommon.class</file>
<file>com/ibm/flght400/SampleExit.class</file>
<file>com/ibm/flght400/SampleMain.class</file>
<file>com/ibm/flght400/SampleMessagesNLS.class</file>
<file>com/ibm/flght400/SampleMessagesNLS_en.class</file>
<file>com/ibm/flght400/SampleNLSkeys.class</file>
<file>com/ibm/flght400/SamplePDC.class</file>
<file>Flght400_Scripts/CheckAppInstall.jacl</file>
<file>Flght400_Scripts/WebSphereScript.jacl</file>
</fileList>
</fileLists>
<preDeploymentChecker
logFile="SamplePDC.log"
programName="com.ibm.flght400.SamplePDC"
responseFile="Flght400.prop"
Appendix C. Source code for Flght400 user programs and script files on OS/400 397
successType="returnCode"
type="java">
<arguments>
<argument responseFile="true" />
<argument>V5R2</argument>
</arguments>
</preDeploymentChecker>
<mainProgram
logFile="SampleMain.log"
programName="com.ibm.flght400.SampleMain"
responseFile="Flght400.prop"
successType="returnCode"
type="java">
<arguments>
<argument responseFile="true" />
</arguments>
</mainProgram>
<exitProgram
programName="com.ibm.flght400.SampleExit"
successType="returnCode"
type="java" />
<variables>
<stringVariable
maximumLength="100"
minimumLength="1"
name="appSvrName"
required="true">
<labelText>Application Server name</labelText>
<propertiesAssociations>
<propertiesAssociation keyword="appSvrName" />
</propertiesAssociations>
<cidFileAssociations>
<cidFileAssociation
keyword="WAS.serverName"
responseFileName="Flght400.prop" />
</cidFileAssociations>
<defaultData>IRAppSvr</defaultData>
<inputValidation>
<invalid>
<prefixes>
<prefix>0</prefix>
<prefix>1</prefix>
<prefix>2</prefix>
<prefix>3</prefix>
<prefix>4</prefix>
<prefix>5</prefix>
<prefix>6</prefix>
<prefix>7</prefix>
<prefix>8</prefix>
<prefix>9</prefix>
</prefixes>
<characters>!@%*:/\#;?=^|+&apos;&quot;(){}[]&amp;,&lt;&gt;</characters>
</invalid>
</inputValidation>
398 IBM Express Runtime V2.1
</stringVariable>
<!-- ********************************************************* -->
<!-- Specify a variable to expose the IHS Server name. -->
<!-- ********************************************************* -->
<stringVariable
name="httpServerName"
required="true">
<labelText>HTTP Server Name</labelText>
<helpText>Enter the name of your HTTP server</helpText>
<propertiesAssociations>
<propertiesAssociation keyword="httpServerName" />
</propertiesAssociations>
<defaultData>IRHTTP</defaultData>
<inputValidation>
<valid>
<prefixes>
<prefix ignoreCase="true">$</prefix>
<prefix ignoreCase="true">#</prefix>
<prefix ignoreCase="true">@</prefix>
<prefix ignoreCase="true">A</prefix>
<prefix ignoreCase="true">B</prefix>
<prefix ignoreCase="true">C</prefix>
<prefix ignoreCase="true">D</prefix>
<prefix ignoreCase="true">E</prefix>
<prefix ignoreCase="true">F</prefix>
<prefix ignoreCase="true">G</prefix>
<prefix ignoreCase="true">H</prefix>
<prefix ignoreCase="true">I</prefix>
<prefix ignoreCase="true">J</prefix>
<prefix ignoreCase="true">K</prefix>
<prefix ignoreCase="true">L</prefix>
<prefix ignoreCase="true">M</prefix>
<prefix ignoreCase="true">N</prefix>
<prefix ignoreCase="true">O</prefix>
<prefix ignoreCase="true">P</prefix>
<prefix ignoreCase="true">Q</prefix>
<prefix ignoreCase="true">R</prefix>
<prefix ignoreCase="true">S</prefix>
<prefix ignoreCase="true">T</prefix>
<prefix ignoreCase="true">U</prefix>
<prefix ignoreCase="true">V</prefix>
<prefix ignoreCase="true">W</prefix>
<prefix ignoreCase="true">X</prefix>
<prefix ignoreCase="true">Y</prefix>
<prefix ignoreCase="true">Z</prefix>
</prefixes>
<characters ignoreCase="true">/$#@_.abcdefghijklmnopqrstuvwxyz0123456789</characters>
</valid>
</inputValidation>
<cidFileAssociations>
<cidFileAssociation
keyword="IHS.webServerName"
responseFileName="Flght400.prop" />
</cidFileAssociations>
</stringVariable>
</variables>
</iru:application>

Get IBM Express Runtime V2.1 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.