QXtend Inbound Queue Manager > QXI Transformation Engine > Creating a Request Parser
  
Creating a Request Parser
If your incoming XML document is in a proprietary format, the document type and version are required to determine the transformation stylesheet. The request parser extracts this. Because the location of these values in each proprietary file format differs, a new request parser is required.To create a new request parser, follow these steps:
1 Create the following directory:
WEB-INF/classes/com/qad/qxtend/queue/transformation
This directory is required for the system to find your modified code before the QAD-supplied code.
2 Edit the existing request parser program to put in your own parsing code:
WEB-INF/RequestParser.java
3 Compile your RequestParser.java program into RequestParser.class.
4 Copy RequestParser.class into the directory created in step 1.
5 Modify it for your proprietary file format.
6 To configure the new request parser, add an entry to requestparsermanager.xml as shown in requestparsermanager.xml Changes.
7 Add the file extension mapping to the document standard used by the new request parser in directoryloaderconfig.xml as shown in directoryloaderconfig.xml Changes.