Technical Support
Have technical issues or suggestions? Please contact Visual Paradigm Support Team.
Sales Support
Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.
WSDL, short for Web Service Description Language, is an XML based language for describing the interface of web services. You can write WSDL definition in VP-UML with WSDL diagram. By combining with business process model, a full set of WSDL and BPEL can be generated.
A WSDL diagram is where you can create or edit a WSDL document. Different to other diagram types, WSDL diagram does not contain any shapes but the structure of WSDL document, and an editor for editing the document. To create a WSDL diagram, right click on WSDL Diagram in Diagram Navigator and select New WSDL Diagram from the popup menu.
![]() |
| To create a WSDL diagram |
This creates an empty WSDL diagram. To continue, you need to select any of the four methods listed below to locate the source of WSDL definition.
![]() |
| Different ways to select the source of WSDL definition |
|
||||||||||
| Ways to select the source of WSDL |
A process is the interactions between collaborators. Other than creating a WSDL diagram from diagram navigator, an alternative way is to create a from a pool (i.e. the collaborator) that initiate the process.
![]() |
| Set diagram type to be BPEL |
![]() |
| Create WSDL diagram |
|
||||||||||
| Description of options for creating WSDL diagram |
If you create a blank WSDL diagram (document) there are some points that you need to pay attention to in order to create an executable definition.
![]() |
| WSDL diagram is created |
![]() |
| Defining target namespace |
![]() |
| Check and fix |
The WSDL definition element is the root element which may contain elements like wsdl:import, wsdl:documentation, wsdl:types, wsdl:message, wsdl:portType, wsdl:binding and wsdl:service. In wsdl:definition, the target namespace (attribute) must be specified. Elements contained by wsdl:definition will be part of the target namespace specified. Here is an example of WSDL definitions, with target namespace and some other fundamental attributes defined.
The WSDL types element is responsible for describing data types used by the operation(s) within the web service. To be clear, the type definition is to be used as input, output and/or fault types of operations. Most often data types are specified using XML schema. Here is an example of WSDL types element that defines an input type, an output type and a fault type.
The WSDL message defines the data for input or output of an operation. Each WSDL message can include one or more WSDL parts element. A part serves as a parameter of WSDL operation.
The WSDL portType, also known as interface, defines operations in a web service. It encloses the operations that can be performed, and each operation contains the input and output which refer to the messages (wsdl:message) defined. You may also add a fault element in addition to input and output for defining the message to send to client when a fault happen.
For ODE, in order to make your web service accessible by others, you must defining the WSDL binding to describe the how your web service is bound to a network protocol.
For ODE, the WSDL service element defines the end points (i.e. address) of web service. It contains one or more port elements which references the binding element.
| 1. Introduction to WS-BPEL support | Table of Contents | 3. Pool (process) |
Technical Support
Have technical issues or suggestions? Please contact Visual Paradigm Support Team.
Sales Support
Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.