| Class | WSDL::SOAP::MethodDefCreator |
| In: |
wsdl/soap/methodDefCreator.rb
|
| Parent: | Object |
| definitions | [R] |
# File wsdl/soap/methodDefCreator.rb, line 22 def initialize(definitions) @definitions = definitions @simpletypes = @definitions.collect_simpletypes @complextypes = @definitions.collect_complextypes @elements = @definitions.collect_elements @types = nil end
# File wsdl/soap/methodDefCreator.rb, line 30 def dump(porttype) @types = [] result = "" operations = @definitions.porttype(porttype).operations binding = @definitions.porttype_binding(porttype) operations.each do |operation| op_bind = binding.operations[operation.name] result << ",\n" unless result.empty? result << dump_method(operation, op_bind).chomp end return result, @types end