ads_common/lib/ads_common/api_config.rb
def get_wsdls(version)
      res = {}
      wsdl_base = get_wsdl_base(version)
      postfix = wsdl_base.start_with?('http') ? '?wsdl' : '.wsdl'
      services(version).each do |service|
        path = wsdl_base
        if (!subdir_config().nil?)
          subdir_name = subdir(version, service);
          path = path + subdir_name if subdir_name and !subdir_name.empty?
        end
        path = path + version.to_s + '/' + service.to_s + postfix
        res[service.to_s] = path
      end
      return res
    end
def get_wsdls(version)
      res = {}
      wsdl_base = get_wsdl_base(version)
      postfix = wsdl_base.start_with?('http') ? '?wsdl' : '.wsdl'
      services(version).each do |service|
        path = wsdl_base
        if (!subdir_config().nil?)
          subdir_name = subdir(version, service);
          path = path + subdir_name if subdir_name and !subdir_name.empty?
        end
        path = path + version.to_s + '/' + service.to_s + postfix
        res[service.to_s] = path
      end
      return res
    end
def get_wsdls ( version ) res = { } wsdl_base = get_wsdl_base ( version ) postfix = wsdl_base . start_with? ( 'http' ) ? '?wsdl' : '.wsdl' services ( version ) . each do | service | path = wsdl_base if ( ! subdir_config ( ) . nil? ) subdir_name = subdir ( version , service ) ; path = path + subdir_name if subdir_name and ! subdir_name . empty? end path = path + version . to_s + '/' + service . to_s + postfix res [ service . to_s ] = path end return res end
Generates an array of WSDL URLs based on defined Services and version
 supplied. This method is used by generators to determine what service
 wrappers to generate.

 Args:
   - version: the API version.

 Returns
   hash of pairs Service => WSDL URL
Generates an array of WSDL URLs based on defined Services and version supplied . This method is used by generators to determine what service wrappers to generate .