Method: WSDL::SOAP::MethodDefCreator#create

Defined in:
lib/wsdl/soap/methodDefCreator.rb

#create(bindingname) ⇒ Object



52
53
54
55
56
57
58
59
60
61
# File 'lib/wsdl/soap/methodDefCreator.rb', line 52

def create(bindingname)
  binding = @definitions.binding(bindingname)
  if binding
    return binding.operations.collect { |op_bind|
      next unless op_bind.soapoperation # not a SOAP operation binding
      create_methoddef(op_bind)
    }
  end
  nil
end