WSDL Port Type Operation

A Port Type Operation identifies an exchange of Messages (data input to and output from the interface as an operation). The Port Type Operation can also identify Messages acting as Fault indicators.

In Enterprise Architect, a WSDL PortType Operation is represented by a UML Operation of the WSDL PortType Interface. You can create a PortType Operation by dragging the PortType Operation icon from the WSDL Toolbox and dropping it onto a «WSDLportType» stereotyped Interface.

Toolbox Icon

PortTypeOpIcon

Access     Drag icon onto «WSDLportType» stereotyped element, or
Project Browser | Double-click on PortType operation, or
Diagram | Highlight PortType element | Highlight PortType operation | double-click on operation

Define Properties

Field/Option/Button

Action

See also

Name

Type in the name of the WSDL PortType Operation.

 

 

Documentation

(Optional) Type in any notes you need for this operation.

 

 

Operation Type

Click on the drop-down arrow and select one of the supported PortType Operation types:

OneWay
Request-Response
Solicit-Response
Notification

 

 

Input

This section is grayed out if you have selected Notification as the operation type.

 

Field/Option

Action

Name

Defaults to a name that parallels the Operation Type.

If you do not want to use the default, type an alternative name for the input Message.

 

Message

Click on the drop-down arrow and select one of the WSDL Messages previously created in the Message package.

 

Documentation

(Optional) Type in any notes you need for this input Message.

 

 

 

 

 

 

 

 

 

 

Message

Output

This section is grayed out if you have selected OneWay as the operation type.

 

Field/Option

Action

Name

Defaults to a name that parallels the Operation Type.

If you do not want to use the default, type an alternative name for the output Message.

 

Message

Click on the drop-down arrow and select one of the WSDL Messages previously created in the Message package.

 

Documentation

(Optional) Type in any notes you need for this output Message.

 

 

 

Faults

Review the details of the WSDL Messages that can act as Faults.

Faults display in this list with the most recently-created at the top and the oldest at the end. If more than four Fault Messages are defined, use the vertical scroll bar to display the rest of the list.

To add a Message, click on the New button. The WSDL PortType Operation Fault dialog displays.

 

Field/Option/Button

Action

Name

Defaults to Fault<n>.

If you do not want to use the default, type an alternative name for the fault Message.

 

Message

Click on the drop-down arrow and select one of the WSDL Messages previously created in the Message package.

 

Documentation

(Optional) Type in any notes you need for this fault Message.

 

OK

Click on this button to save the data entered and close the WSDL PortType Operation Fault dialog.

 

Cancel

Click on this button to discard the data entered and close the WSDL PortType Operation Fault dialog.

 

Help

Click on this button to display this Help topic.

 

 

To remove a Message from the list, click on it and click on the Delete button.

 

 

OK

Click on this button to save the data entered and close the WSDL PortType Operation dialog.

 

 

Cancel

Click on this button to discard the data entered and close the WSDL PortType Operation dialog.

 

 

Help

Click on this button to display this Help topic.

 

 

UML

This button is displayed when you are editing existing WSDL Port Type Operation information.

Click on the button to open the UML operation Properties dialog for the element.

 

General Properties of Operations

 

Notes

WSDL PortType Operations can only be contained by WSDL PortTypes
The name provided for an Input, Output or Fault Message in a PortType Operation must be unique amongst the Input, Output and Fault Messages, respectively, across the WSDL PortType
In the UML operation Properties dialog, the Messages identified as Input, Output and Fault can be examined as the parameters of the operation

Learn more