In the WSDL view, right-click the port type node and choose Add -> Operation.
The Create New Operation dialog box appears.
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.
An operation node appears. If you created one or more messages, then the message nodes appear.