Using the WSDL Editor

ProcedureTo create a port type

  1. In the WSDL view, right-click the Port Types node and choose Add Port Type. The Create New Port Type dialog box appears.

  2. Enter a name for the port type.

  3. Enter a name for the operation.

  4. Select the category of operation.

  5. 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.

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

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

  8. Click OK.

    A port type node appears. The port type node contains an operation node. If you created one or more messages, then the message nodes appear. In addition, a partner link type is automatically created.