Prev | Next |
Model WSDL
You can quickly and easily model the elements in a Web Service Definition using the WSDL page of the Diagram Toolbox. As a first step, you can create an example WSDL Package structure in the Browser window, using the Namespace icon from the WSDL page. You can use this example Package structure as a template for developing your WSDL.
Create a new WSDL Package structure
Step |
Action |
See also |
---|---|---|
1 |
In the Browser window, create the top-level project structure you need (Model and Views), and click on the appropriate View. |
Models Model Views |
2 |
Click on the 'New Package' option in the Browser window header drop-down list. The 'New Model Package' dialog displays. |
Browser - Header Bar |
3 |
In the 'Name' field type the name of the new Package, and select the 'Create Diagram' radio button. |
Add a Package |
4 |
Click on the . The 'New Diagram' dialog displays. |
|
5 |
In the 'Name' field type the name of the new diagram. In the 'Select From' panel select 'UML Structural', and in the 'Diagram Types' panel select 'Class'. |
Add New Diagrams |
6 |
Click on the . In the Browser window, double-click on the icon next to the new diagram's name; the diagram opens in the Diagram View, with the Class pages displaying in the Diagram Toolbox. |
Diagram Toolbox |
7 |
In the Toolbox, click on to display the 'Find Toolbox Item' dialog and specify 'WSDL', then select the Toolbox page from the results. The 'WSDL' Toolbox page displays. |
WSDL Toolbox |
8 |
Click on the 'Namespace' icon from the Toolbox and drag it into the Class diagram. The 'WSDL Namespace Properties' dialog displays. Type in a WSDL Package name and the URL of the Target Namespace. You can edit these values later. |
WSDL Namespace |
9 |
Click on the . The sample «WSDLnamespace» stereotyped Package structure is created on the diagram, and the full model structure is displayed, expanded, in the Browser window. The model structure consists of these sub-Packages, with an Overview diagram to navigate between them:
|
WSDL 1.1 Model Structure Modeling XSD |
10 |
Model each of the WSDL constructs in their corresponding Packages. |
WSDL Message WSDL Message Part WSDL Port Type WSDL Port Type Operation WSDL Binding WSDL Binding Operation WSDL Service WSDL Document |
Template WSDL Model - Diagram
The WSDLnamespace Package acts as a container for the WSDL structure.