Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1634

Show
Ignore:
Timestamp:
09/23/05 23:06:42 (3 years ago)
Author:
nahi
Message:

let operation iteration algorithm make consistent with wsdlDriver.rb

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/wsdl/soap/methodDefCreator.rb

    r1618 r1634  
    3232    @types.clear 
    3333    result = "" 
    34     operations = @definitions.porttype(porttype).operations 
    35     binding = @definitions.porttype_binding(porttype) 
    36     operations.each do |operation| 
    37       op_bind = binding.operations[operation.name] 
     34    port = @definitions.porttype(porttype) 
     35    port.find_binding.operations.each do |op_bind| 
     36      op = op_bind.find_operation 
    3837      next unless op_bind # no binding is defined 
    3938      next unless op_bind.soapoperation # not a SOAP operation binding 
    4039      result << ",\n" unless result.empty? 
    41       result << dump_method(operation, op_bind).chomp 
     40      result << dump_method(op, op_bind).chomp 
    4241    end 
    4342    return result, @types