The QAD MFG/PRO data handler is a pivotal component in the connector for QAD MFG/PRO. The connector calls the data handler to transform business objects into QDoc messages and to transform triplet and QDoc messages into business objects.
The information in data handler meta-objects plays a crucial role in these transformations. You configure this information after you install the product files, but before startup. Unless you are customizing or extending the QAD MFG/PRO data handler, configure the following item only:
Figure 14 illustrates the data handler meta-object hierarchy, which includes the BIA_QADDataHandlerMO and the OutboundMappingMO objects.
Figure 14. Data handler
meta-objects
Table 6 describes the attributes required for the BIA_DataHandlerConfigMO. The name of this top-level meta-object is read from the DataHandlerMetaObjectName connector configuration property.
Table 5. Meta-object attributes for BIA_DataHandlerConfigMO
Attribute name | Type | Description |
---|---|---|
xml_soap | BIA_QADDataHandlerMO | Meta-object for the QAD MFG/PRO data handler, used with xml_soap mime type |
triplet | BIA_QADDataHandlerMO | Meta-object for the QAD MFG/PRO data handler, used with triplet mime type |
xml | BIA_XMLDataHandlerMO | Meta-object for the XML data handler, which is configured as a component of the QAD MFG/PRO data handler. |
Table 6 describes the attributes for the QADDataHandlerMO.
Table 6. Meta-object attributes for QADDataHandlerMO
Attribute name | Type | Description |
---|---|---|
OutboundMappingMO | String | Name of the meta-object for outbound mapping (event processing). If this attribute is set to CxIgnore, no outbound mapping is performed. |
OutboundMappingClass | String | Class name for event processing mapping handler. This class is used to perform the mapping from triplet to QDoc XML. If this attribute is set to CxIgnore, no triplet-to-QDoc mapping is performed. |
ClassName | String | Data handler class with value of com.ibm.adapters.qad. datahandlers.QADDataHandler. Do not change this value. |
soapTemplate | String | Fully qualified pathname of the SOAP envelope template file BIA_SoapEnvelopeTemplate.xml. |
inboundBoDateFormats | String | List of patterns used to parse incoming date fields, separated by ";". Default: mm/dd/yyyy;mm-dd-yyyy;yyyy-mm-dd |
Table 5 describes the attributes for the OutboundMappingMO (event processing).
Table 7. Meta-object attributes for OutboundMappingMO (event processing)
Attribute name | Type | Description |
---|---|---|
tripletMapFile | String | Fully qualified pathname for the triplet XML mapping file |
qdocTemplate | String | Fully qualified pathname for the QDoc template file |
headerMetaFile | String | Fully qualified pathname of the file containing the triplet-to-QDoc header mappings |
schemaPath | String | Fully qualified pathname for the root directory containing the QDoc XML schema files. |
For a description of the BIA_XMLDataHandlerMO, see the Data Handler Guide. Mapping metadata and its role in format conversions is discussed in the appropriate sections below.