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 (a single 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 since the value of these attributes are 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 BOs, you must manually add the FIXED attributes as BO attributes. You must check to ensure that these values are not changed at runtime.

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

Copyright IBM Corporation 1997, 2004. All Rights Reserved.