In the WSDL view, right-click the Extensibility Elements node and choose Add -> PartnerLinkType.
A partner link type node appears under the Extensibility Elements node. The partner link type has a default role.
(Optional) To add a second role, right-click the partner link type node and choose Add -> role.
If the Properties window is not visible, choose Window -> Properties.
For each role, do the following:
Change the default name\role.
Specify the port type.