# File lib/wsdl/xmlSchema/xsd2ruby.rb, line 30
  def run
    unless @location
      raise RuntimeError, "XML Schema location not given"
    end
    @xsd = import(@location)
    @name = @opt['classdef'] || create_classname(@xsd)
    create_file
  end