Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

WSDL Namespace

The WSDL namespace in Enterprise Architect represents the top-level container for the WSDL elements, including WSDL documents. Conceptually it maps to the targetNamespace in a WSDL definition element. A given WSDL namespace can reuse its schema Types, Messages, Port Types, Bindings and Service across multiple physical WSDL documents.

The figure below shows an example WSDL namespace (OnlineBookstore PSM, which has a red margin to the bottom right corner), including a single WSDL document:

Example

EAProjExplorer

 

Create a new WSDL namespace in your model

Step

Action

See also

1

Open or create the appropriate diagram.

 

 

2

Select the More tools | WSDL menu option from the Toolbox.

 

 

3

Drag the Namespace element from the Toolbox onto the diagram.

The WSDL Namespace Properties dialog displays:

 

 

4

Type in a WSDL Package Name and Target Namespace name. You can edit these values later.

 

 

5

Click on the OK button to create a package stereotyped as WSDLnamespace. This contains the following sub-packages and an Overview diagram to navigate between the sub-packages:

Types: Contains the XSD types used by the WSDL Message elements; this package is modeled as an XML Schema, and you drag XSDelement, XSDsimpleType and XSDcomplexType elements onto the Types diagram from the XML Schema page of the Toolbox
Messages: Contains the WSDL Messages, modeled as UML Classes marked with the stereotype WSDLmessage
PortTypes: Contains the WSDL Port Types, modeled as UML interfaces marked with the stereotype WSDLportType
Bindings: Contains the WSDL Bindings, modeled as UML Classes that realize the PortTypes
Services: Contains the WSDL Services, modeled as UML interfaces with associations to each exposed Binding
 

 

6

Use the Overview diagram to navigate between the subpackages, by double-clicking the relevant packages.

You can edit the sample WSDL elements created in the previous step, or drag new items from the WSDL pages of the Toolbox onto the relevant diagrams.

 

 

Example

WSDLNamespaceDiag
 

You can edit the WSDL-specific properties of the namespace later by double-clicking the package in the Project Browser. Alternatively, on the WSDL Namespace Properties dialog, click on the UML button to invoke the standard Properties dialog for a package. (This button does not display on the initial WSDL Namespace Properties dialog for a new Namespace element.)

Learn more