The IBM WebSphere InterChange Server 4.2.1 release and the
WebSphere Business Integration Adapter Framework 2.3.1 release
now provide a new data handler, the Request-Response data handler. For
more information, see Request-Response data handler.
Both these products now support the following changes to the XML data
handler:
- New way to specify names of XML elements and attributes
- The business-object attribute that represents an XML element must now
contain the elem_name tag in its application-specific
information. For more information, see For XML elements (for XML elements defined in DTDs) or For XML elements (for XML elements defined in
schema documents).
- The business-object attribute that represents an XML attribute must now
contain the attr_name tag in its application-specific information
(in addition to the type=attribute tag). For more
information, see For an XML attribute (for XML attributes defined in DTDs) or For an XML attribute (for XML attributes defined in schema
documents)
- Note:
- The elem_name and attr_name tags replace previous
syntax, which required only the name of the XML element or attribute in the
business-object attribute's application-specific information. The
XML data handler still supports the old syntax for backward compatibility with
existing business object definitions. However, the XML ODA uses the new
syntax when it generates business object definitions.
- New way to specify the namespaces of a schema document
The business object definition must now contain the target_ns
tag in its application-specific information to identify the target
namespace. For more information, see Schema namespaces.
- Note:
- The target_ns tag replaces previous syntax, which required that
the business object definition contain attributes that defined the prefixes of
each namespace. These attributes indicated whether they represented the
default namespace or a prefixed namespace with the type=defaultNS
or type=xmlns tags (respectively) in their application-specific
information. The XML data handler still supports the old syntax for
backward compatibility with existing business object definitions.
However, the XML ODA uses the new syntax when it generates business object
definitions.
- New way to specify qualified XML element and attribute names
The XML data handler now recognizes the following XML structures:
- The elementFormDefault and attributeFormDefault
attributes of the schema element
Based on the values of these schema attributes, the elem_fd and
attr_fd tags in the application-specific information of the
business object definition indicate whether XML element and attribute names
are qualified. For more information, see Qualified component names application-specific information
- The form attribute of an XML element or attribute
Based on the value of this attribute, the elem_fd and
attr_fd tags in the application-specific information of the
business-object attribute indicate whether the particular XML element or
attribute name is qualified.
- Note:
- The elem_fd and attr_fd tags replace previous syntax,
which required that some business object definitions contain namespace
prefixes in the names of the attributes that represented XML elements or
attributes. The business object definition no longer stores namespace
prefix information. The XML data handler still supports the old syntax
for backward compatibility with existing business object definitions.
However, the XML ODA uses the new syntax when it generates business object
definitions.
- The XML data handler now supports the following XML structures of a schema
document:
- Multiple schema namespaces (the import element) by providing
the elem_ns and attr_ns tags in the application-specific
information of business-object attributes that represent XML elements and
attributes, respectively. For more information, see Schema namespaces.
- Some restrictions on simple-content and complex-content complex types (the
restriction element). For more information, see Supported schema-document structures.
