XSD Documents (BPM)

An XSD document defines the data schema handled by a service provider, and can be associated with a PowerDesigner XML model. When reverse engineering or importing web services, you can select the Create XML Model option to create an XSD document for each data schema found in the source WSDL.

Creating an XSD Document

You can create an XSD document manually by using the Add a Row tool on the XSD Document tab in the property sheet of a service provider, or by right-clicking the service provider in the Browser, and selecting New > XSD Document.

Note: Select Model > XSD Documents to view all the document in the model. You cannot create XSD documents from this list.

XSD Document Properties

To view or edit an XSD document's properties, double-click its Browser or list entry. The property sheet tabs and fields listed here are those available by default, before any customization of the interface by you or an administrator.

The General tab contains the following properties:

Property

Description

Name/Code/Comment

Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field.

Stereotype

Extends the semantics of the object. You can enter a stereotype directly in this field, or add stereotypes to the list by specifying them in an extension file.

Target namespace

Specifies the URI (Uniform Resource Identifier) reference that uniquely identifies the data schema and avoids conflicts with other data schemas with the same name.

Schema location

Specifies the URI (Uniform Resource Identifier) reference for the location from which the data schema was imported.

Schema model

Specifies the XML model that represents the data schema. You can select a model from the list or use the tools to the right of the list to create a model or view the properties of the currently selected model. For information about working with XML models, see XML Modeling.

Keywords

Provide a way of loosely grouping objects through tagging. To enter multiple keywords, separate them with commas.

The following tabs are also available:
  • XML NameSpaces - Displays a list of XML namespace prefixes used by the WSDL file, which can reference included data schema namespaces or any external namespace. For more information about using this tab, see Service Provider Properties.
  • Schema - Specifies the message part definition details. You can enter any appropriate information in this field, and open, insert and save text files. The first lines of the schema display the XML version, encoding format, and namespace details.