Adding an operation

An operation names the operation and lists the expected inputs and outputs. The operation element may also contain a fault sub-element that describes any error data the operation may return.

Using these, you can declare four transmission primitives that an endpoint can support:

You can add an operation to a port type or a port binding.

To add an operation to a port type,...

  1. In the Graph view, right-click your port type. Click Add Child > Operation.

  2. In the dialog, enter a name for the operation.

  3. Right click on the operation to add an input, output or fault objects. Depending on an operation's inputs and outputs it can be classified as follows:

    • One way operation: input

    • Request response operation: input, output

    • Solicit response operation: output, input

    • Notification operation : output

  4. Type any information about the operation you wish the user to read in the Documentation pane.

Tip: You can also create a new operation for your port type using the Outline view.

 

Parent topic

Editing WSDL files

Related concepts
Editing WSDL files with the WSDL Editor

Related tasks
Creating a new WSDL file
Editing WSDL files