In the WSDL view, right-click the Port Types node and choose Add Port Type. The Create New Port Type dialog box appears.
Enter a name for the port type.
Enter a name for the operation.
Select the category of operation.
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.
If the operation is a request-response operation, then define the message that the operation sends as output.
(Optional) If the operation is a request-response operation, then you can define a message that the operation sends as a fault.
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.