Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • wsdl/soap/mappingRegistryCreator.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

WSDL::SOAP::MappingRegistryCreator

Attributes

definitions[R]

Public Class Methods

new(definitions) click to toggle source
 
               # File wsdl/soap/mappingRegistryCreator.rb, line 22
def initialize(definitions)
  @definitions = definitions
  @complextypes = @definitions.collect_complextypes
  @types = nil
end
            

Public Instance Methods

dump(types) click to toggle source
 
               # File wsdl/soap/mappingRegistryCreator.rb, line 28
def dump(types)
  @types = types
  map_cache = []
  map = ""
  @types.each do |type|
    if map_cache.index(type).nil?
      map_cache << type
      if type.namespace != XSD::Namespace
        if typemap = dump_typemap(type)
          map << typemap
        end
      end
    end
 end
  return map
end