# File lib/wsdl/soap/methodDefCreator.rb, line 27 def initialize(definitions, name_creator, modulepath, defined_const) @definitions = definitions @name_creator = name_creator @modulepath = modulepath @simpletypes = @definitions.collect_simpletypes @complextypes = @definitions.collect_complextypes @elements = @definitions.collect_elements @defined_const = defined_const @assigned_method = {} end
# File lib/wsdl/soap/methodDefCreator.rb, line 51 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
# File lib/wsdl/soap/methodDefCreator.rb, line 38 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
Generated with the Darkfish Rdoc Generator 2.