Method: WSDL::SOAP::MethodDefCreator#dump

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

#dump(name) ⇒ Object



39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/wsdl/soap/methodDefCreator.rb', line 39

def dump(name)
  methoddef = ""
  porttype = @definitions.porttype(name)
  binding = porttype.find_binding
  if binding
    create(binding.name).each do |mdef|
      methoddef << ",\n" unless methoddef.empty?
      methoddef << dump_method(mdef).chomp
    end
  end
  methoddef
end