# File lib/wsdl/soap/header.rb, line 39 39: def find_message 40: root.message(@message) or raise RuntimeError.new("#{@message} not found") 41: end
# File lib/wsdl/soap/header.rb, line 43 43: def find_part 44: find_message.parts.each do |part| 45: if part.name == @part 46: return part 47: end 48: end 49: raise RuntimeError.new("#{@part} not found") 50: end
# File lib/wsdl/soap/header.rb, line 63 63: def parse_attr(attr, value) 64: case attr 65: when MessageAttrName 66: if value.namespace.nil? 67: value = XSD::QName.new(targetnamespace, value.source) 68: end 69: @message = value 70: when PartAttrName 71: @part = value.source 72: when UseAttrName 73: @use = value.source 74: when EncodingStyleAttrName 75: @encodingstyle = value.source 76: when NamespaceAttrName 77: @namespace = value.source 78: else 79: nil 80: end 81: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.