Class WSDL::SOAP::Binding
In: lib/wsdl/soap/binding.rb
Parent: Info

Methods

Attributes

style  [R] 
transport  [R] 

Public Class methods

[Source]

    # File lib/wsdl/soap/binding.rb, line 20
20:   def initialize
21:     super
22:     @style = nil
23:     @transport = nil
24:   end

Public Instance methods

[Source]

    # 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

[Source]

    # File lib/wsdl/soap/binding.rb, line 26
26:   def parse_element(element)
27:     nil
28:   end

[Validate]