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

Changeset 1461

Show
Ignore:
Timestamp:
03/12/05 16:13:30 (4 years ago)
Author:
nahi
Message:

add ApacheMap? handling for wsdl2ruby. fixes #76.

Files:

Legend:

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

    r1445 r1461  
    7979      when :TYPE_SIMPLE 
    8080        dump_simpleclassdef(type) 
     81      when :TYPE_MAP 
     82        # mapped as a general Hash 
    8183      else 
    8284        raise RuntimeError.new( 
  • trunk/lib/wsdl/soap/mappingRegistryCreator.rb

    r1445 r1461  
    5252      when :TYPE_ARRAY 
    5353        dump_array_typemap(definedtype) 
     54      when :TYPE_MAP 
     55        nil 
    5456      else 
    5557        raise NotImplementedError.new("must not reach here") 
  • trunk/lib/wsdl/soap/methodDefCreator.rb

    r1442 r1461  
    111111    elsif definedtype = @complextypes[part.type] 
    112112      case definedtype.compoundtype 
    113       when :TYPE_STRUCT 
     113      when :TYPE_STRUCT, :TYPE_MAP 
    114114        ['::SOAP::SOAPStruct', part.type.namespace, part.type.name] 
    115115      when :TYPE_ARRAY