Modifying QXtend Configuration Files
The transformation engine relies on several QXI configuration files in order to call the correct transformation for the correct files. You must make minor modifications in an XML or text editor to the following files:• directoryloaderconfig.xml
• requestparsermanager.xml
• transformationmanager.xml
directoryloaderconfig.xml Changes
In directoryloaderconfig.xml, add the new document standard:<directoryloaderConfig>
...
<documentStandards
<documentStandard extension=”prp”>PRPXML
</documentStandard>
<documentStandards
...
<directoryloaderConfig>
requestparsermanager.xml Changes
Add the document standard to requestparsermanager.xml:<requestParserManager>
<requestParsers>
<requestParser>
<parserType>PRPXML</parserType>
<parserClass>com.qad.common.queue.transformation.
PRPXMLRequestParser</parserClass>
</requestParser>
</requestParsers>
</requestParserManager>
transformationmanager.xml Changes
Add the document standard as a contentTypeMap and the mapping specification including the mapping specification file name to transformationManager.xml:<transformationManager>
<transformers>
<transformer>
<transformerType>XML</transformerType>
<transformerClass>com.qad.common.queue.
transformation.XMLTransformer</transformerClass>
</transformer>
<contentTypeMaps>
<contentTypeMap documentStandard=PRPXML</contentTypeMap>
</contentTypeMaps>
<mappingSpecifications>
<mappingSpecification
receiver=”eb2”
documentStandard=”PRPXML”
documentType=”syncCustomer”
documentVersion=”001”>prpxml-001-synccust-eB2qdoc.xsl</mappingSpecification>
</mappingSpecifications>
</transformers>
</transformationManager>
This completes the configuration of the Queue Manager to accept non-standard XML documents. Test the new configuration thoroughly.