def getAddressBinding(self):
        """A convenience method to obtain the extension element used
           as the address binding for the port."""
        for item in self.extensions:
            if isinstance(item, SoapAddressBinding) or \
               isinstance(item, HttpAddressBinding):
                return item
        raise WSDLError(
            'No address binding found in port.'
            )
def getAddressBinding ( self ) : for item in self . extensions : if isinstance ( item , SoapAddressBinding ) or isinstance ( item , HttpAddressBinding ) : return item raise WSDLError ( 'No address binding found in port.' )
A convenience method to obtain the extension element used
           as the address binding for the port.