| Class | WSDL::SOAP::Binding |
| In: |
lib/wsdl/soap/binding.rb
|
| Parent: | Info |
| style | [R] | |
| transport | [R] |
# File lib/wsdl/soap/binding.rb, line 20
20: def initialize
21: super
22: @style = nil
23: @transport = nil
24: end
# File lib/wsdl/soap/binding.rb, line 30
30: def parse_attr(attr, value)
31: case attr
32: when StyleAttrName
33: if ["document", "rpc"].include?(value.source)
34: @style = value.source.intern
35: else
36: raise Parser::AttributeConstraintError.new(
37: "Unexpected value #{ value }.")
38: end
39: when TransportAttrName
40: @transport = value.source
41: else
42: nil
43: end
44: end