Business objects based on XML DTDs or schema documents

If you are creating request and response business objects based on an XML DTD or schema document, you must create a business object definition for each type of XML document to be processed. The business object definition contains structure information that is contained in the XML document's DTD or schema document. For example, if there is one request stream (one DTD or schema document), but four possible response stream types (four separate DTDs or schema documents), you must define five business object definitions. On the other hand, if the request and response stream use the same schema, you need only one business object definition. You can use the XML Object Discovery Agent (ODA) to generate business object definitions based on DTDs or schema documents.

Note:
When reading a DTD or schema, the XML ODA ignores FIXED attributes because the value of these attributes is optional in an XML instance, and the value is always fixed. If you would like these FIXED values to exist in the XML instances created from and read to business objects, you must manually add the FIXED attributes as business object attributes. You must check to ensure that these values are not changed at run time.

For information about how to define business object definitions for XML documents, using either the XML ODA or manually, see the Data Handler Guide.

Copyright IBM Corp. 2004