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

Changeset 1633

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

cosmetic

Files:

Legend:

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

    r1574 r1633  
    4242private 
    4343 
    44   def dump_porttype(name) 
    45     class_name = create_class_name(name) 
    46     methoddef, types = MethodDefCreator.new(@definitions).dump(name) 
     44  def dump_porttype(porttype) 
     45    class_name = create_class_name(porttype) 
     46    methoddef, types = MethodDefCreator.new(@definitions).dump(porttype) 
    4747    mr_creator = MappingRegistryCreator.new(@definitions) 
    48     binding = @definitions.bindings.find { |item| item.type == name } 
     48    binding = @definitions.bindings.find { |item| item.type == porttype } 
    4949    return '' unless binding.soapbinding        # not a SOAP binding 
    50     address = @definitions.porttype(name).locations[0] 
     50    address = @definitions.porttype(porttype).locations[0] 
    5151 
    5252    c = XSD::CodeGen::ClassDef.new(class_name, "::SOAP::RPC::Driver")