may be nil if not defined
# File lib/wsdl/portType.rb, line 31 31: def find_binding 32: root.bindings.find { |item| item.type == @name } 33: end
# File lib/wsdl/portType.rb, line 35 35: def locations 36: binding = find_binding 37: return [] if binding.nil? 38: bind_name = binding.name 39: result = [] 40: root.services.each do |service| 41: service.ports.each do |port| 42: if port.binding == bind_name 43: result << port.soap_address.location if port.soap_address 44: end 45: end 46: end 47: result 48: end
# File lib/wsdl/portType.rb, line 64 64: def parse_attr(attr, value) 65: case attr 66: when NameAttrName 67: @name = XSD::QName.new(targetnamespace, value.source) 68: else 69: nil 70: end 71: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.