Using the WSDL Editor

ProcedureTo add an operation to an existing port type

  1. In the WSDL view, right-click the port type node and choose Add -> Operation.

    The Create New Operation dialog box appears.

  2. Enter a name for the operation.

  3. Select the category of operation.

  4. Define the message that the operation receives as input. You can create a message from scratch by entering a new message name in the drop-down list, or you can select an existing message from the drop-down list. For a new message, the Add and Remove buttons enable you to add and remove message parts.

  5. If the operation is a request-response operation, then define the message that the operation sends as output.

  6. (Optional) If the operation is a request-response operation, then you can define a message that the operation sends as a fault.

  7. Click OK.

    An operation node appears. If you created one or more messages, then the message nodes appear.