Class: SOAP::WSDL::Services

Inherits:
Hash
  • Object
show all
Defined in:
lib/wsdl-reader/service.rb

Instance Method Summary collapse

Methods inherited from Hash

#keys_to_sym!, #kvTable

Instance Method Details

#getServicePortForBindingName(name) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/wsdl-reader/service.rb', line 4

def getServicePortForBindingName( name )
  self.each do |binding_name, binding|
    binding.ports.each do |port_name, port|
      return port if port[:binding].nns == name
    end
  end
  return nil
end