Inline schemas
Inline schemas are a way of including the schema within
a WSDL file rather than specifying that it be imported.
A schema defines the structure of an XML document. A schema
is itself an XML document defined with an xsd extension. There are
two ways of including a schema within a WSDL file. One way is to specify
that it be imported; that is, the schema is a separate file. Another
way, called inline schemas, is to include the schema inline with the
file. Both are used by developers. The interface editor opens the
WSDL file even if the elements and types used by the inputs, outputs
and faults are defined inside an inline schema.
The following XML code fragment has an inline schema called Employee, which is used within the WSDL file.

The WSDL file with this inline schema can be opened and used by the interface editor as shown in the following image:

The data type defined within an inline schema can be used in the same WSDL, but cannot be used in another new interface. If you create a new interface and use the inline schemas in existing WSDL files, the interface editor will not show those types in the new interface. A workaround for this problem is to copy the inline schema from the existing WSDL file to the new WSDL file.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-01-20 10:38