# File lib/wsdl/portType.rb, line 35 def locations binding = find_binding return [] if binding.nil? bind_name = binding.name result = [] root.services.each do |service| service.ports.each do |port| if port.binding == bind_name result << port.soap_address.location if port.soap_address end end end result end