class WSDL::Importer

Public Class Methods

import(location, originalroot = nil) click to toggle source
# File lib/wsdl/importer.rb, line 18
def self.import(location, originalroot = nil)
  new.import(location, originalroot)
end

Private Instance Methods

parse(content, location, originalroot) click to toggle source
Calls superclass method WSDL::XMLSchema::Importer#parse
# File lib/wsdl/importer.rb, line 24
def parse(content, location, originalroot)
  opt = {
    :location => location,
    :originalroot => originalroot
  }
  begin
    WSDL::Parser.new(opt).parse(content)
  rescue WSDL::Parser::ParseError
    super(content, location, originalroot)
  end
end