Implementation

Extract the software

  1. Unzip the ValidationModule <vn.n>.zip single zip file to a local folder. The location is passed in as an argument to the batch scripts to invoke the test harness. For details, see Run the sample files.
  2. For help obtaining the software, see System requirements on page 1.
  3. Check the folder contains the following files:
  4. After you have decompressed the file, familiarise yourself with the contents. Table 127
  1. Place the Enumerations.xsd in the Validation Module folder.
  2. For help obtaining the Enumerations.xsd, see System requirements on page 1.
  3. Next, see Run the build.

Table 127 Validation Module folder structure

folder

Contents

README.txt

Validation Module Read me text file. Contains details about the changes in new versions.

Build.bat

B2B Validation Module build

runTestType2.bat

Batch file used to run the sample application ValidationModuleType2TestHarness. This does the same thing as the ValidationModule except it uses a different Transaction factory method to create the Transaction. In this method the caller does not need to know the internal name of the Transaction Type.

runTest.bat

Batch file used to run the sample application ValidationModuleTestHarness.

src

Source files

Samples

Sample .XML files for testing purposes:

  • SOR_AllocateNMITestFail.xml
  • SOR_AllocateNMITestPass.xml

Lib

B2BValidationModule.jar

commons-beanutils-1.8.0.jar

commons-collections-3.2.1.jar

commons-logging-1.1.1.jar

relaxngDatatype-1.0.jar

resolver.jar

serializer.jar

xalan.jar

xercesImpl.jar

xml-apis.jar

xsom-20081112.jar

Doc

API documentation

PropertiesFiles

EventMessage.properties

ScreenName.properties

XPath.properties

Meta-INF

MANIFEST.MF