You generate business objects from Qdoc schemas. A Qdoc schema is an XML schema that describes message content. As shown in Figure 1, the process is an automated one in which you use the XML Object Discovery Agent (ODA) and Business Object Designer to create business objects (BO) that conform to Qdoc schemas.
Figure 8. Generating a business object from a Qdoc schema
To run the XML ODA, see the Data Handler Guide. You use Qdoc schemas (rather than DTDs) as input to the XML ODA.
The XML ODA can generate individual definitions for the header and body sections of the message only, but not for the entire Qdoc. The XML ODA generates the header business object definition that is common to all messages. This definition, BIA_QdocHeaderBO, is provided with the adapter installation. In addition, a Qdoc template business object definition, BIA_TemplateEnvelopeBO, is provided. You use this template to help construct a Qdoc business object definition. The template includes two attributes, one for the header and one for the body of a Qdoc. Figure 9 shows BIA_TemplateEnvelopeBO in Business Object Designer.