Content Completion in WSDL Documents
The
Content Completion Assistant is a powerful feature that enhances
the editing of WSDL documents. It helps you define WSDL components by proposing
context-sensitive element names. Another important capability of the
Content
Completion Assistant is to propose references to the defined components when you
edit attribute values. For example, when you edit the
type attribute of a
binding element, the
Content Completion Assistant
proposes all the defined port types. Each proposal that the
Content Completion
Assistant offers is accompanied by a documentation hint.
Note: XML schema
specific elements and attributes are offered when the current editing context is the
internal XML schema of a WSDL document.
Figure: WSDL Content Completion Window
Note: The
Content Completion Assistant collects its components starting
from the master files. The master files can be defined in the project or in the associated
validation scenario. For further details about the
Master Files support
go to
Defining Master Files at
Project Level.
Namespace prefixes in the scope of the current context are presented at the top of the
content completion window to speed up the insertion into the document of prefixed
elements.
Figure: Namespace Prefixes in the Content Completion Window
For the common namespaces, like XML Schema namespace
(http://www.w3.org/2001/XMLSchema) or SOAP namespace
(http://schemas.xmlsoap.org/wsdl/soap/), Oxygen XML Editor provides an easy mode
to declare them by proposing a prefix for these namespaces.