This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

Supported XSD and WSDL artifacts

When a WSDL or a schema is imported into a project in IBM® Integration Designer, the business objects rendered from the WSDL or schema can then be used to develop a module. It is important to note however, that only certain artifacts from a schema are rendered as business objects (for example, root/top level elements and named complex types). Certain artifacts, such as nested anonymous complex types, are not rendered as business objects. These restrictions are a result of which artifacts are accessible in the XML schema. For example, if you import a schema which resulted in only one business object, it is most likely that the rest of the elements were anonymous complex types. The following information details which XSD and WSDL artifacts result in business objects.

Business objects from imported XSD definitions

When an XML schema is imported into a project, only certain artifacts are rendered as business objects. The following lists show which artifacts are supported at authoring time and at run time:

XSD artifacts resulting in business objects at authoring time:

  • Complex types defined at the root level
  • Elements defined at the root level with anonymous complex types
These artifacts result in user-defined simple types at authoring time which can be referenced by business objects:
  • Simple types defined at the root level
  • Elements defined at the root level with anonymous simple types

Business objects from imported WSDL files

When a WSDL definition that includes an inline XSD schema is imported into a project, only certain artifacts are rendered as business objects. The following lists show which artifacts are supported at authoring time and at run time:

Inline XSD artifacts resulting in business objects at authoring time:

  • Complex types defined at the root level
  • Elements defined at the root level with anonymous complex types AND the name of the element does not contain the names of any operations/messages (as these elements could be doc-lit-wrapped elements which IBM Integration Designer unwraps automatically)
These artifacts result in user-defined simple types at authoring time which can be referenced by business objects:
  • Simple types defined at the root level
  • Elements defined at the root level with anonymous simple types

Run time business objects from XSD artifacts

These artifacts result in business objects at run time:

  • Complex types defined at the root level
  • Elements defined at the root level with anonymous complex types
  • Elements defined at the root level which reference a complex type

Run time business objects from WSDL files

These artifacts result in business objects at run time:

  • Complex types defined at the root level
  • Elements defined at the root level with anonymous complex types AND the name of the element does not contain the names of any operations/messages (as these elements could be doc-lit-wrapped elements which IBM Integration Designer unwraps automatically)
  • Elements defined at the root level which reference a complex type