code: def getPortType(self):
          
          wsdl = self.getService().getWSDL()
          binding = wsdl.bindings[self.binding]
          return wsdl.portTypes[binding.type]
docs: Return the PortType object that is referenced by this port.