PHP 8.2.31
Preview: importer.rb Size: 825 B
/proc/thread-self/root/opt/alt/ruby18/lib64/ruby/1.8/wsdl/importer.rb

# WSDL4R - WSDL importer library.
# Copyright (C) 2003, 2005  NAKAMURA, Hiroshi <nahi@ruby-lang.org>.

# This program is copyrighted free software by NAKAMURA, Hiroshi.  You can
# redistribute it and/or modify it under the same terms of Ruby's license;
# either the dual license version in 2003, or any later version.


require 'wsdl/xmlSchema/importer'
require 'wsdl/parser'


module WSDL


class Importer < WSDL::XMLSchema::Importer
  def self.import(location, originalroot = nil)
    new.import(location, originalroot)
  end

private

  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

end


end

Directory Contents

Dirs: 2 × Files: 18

Name Size Perms Modified Actions
soap DIR
- drwxr-xr-x 2024-03-03 22:48:14
Edit Download
xmlSchema DIR
- drwxr-xr-x 2024-03-03 22:48:14
Edit Download
1.21 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
2.30 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
5.21 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
577 B lrw-r--r-- 2007-02-12 23:01:19
Edit Download
1.67 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
825 B lrw-r--r-- 2007-02-12 23:01:19
Edit Download
816 B lrw-r--r-- 2007-02-12 23:01:19
Edit Download
936 B lrw-r--r-- 2007-02-12 23:01:19
Edit Download
2.55 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
1.95 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
1.65 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
3.89 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
924 B lrw-r--r-- 2007-02-12 23:01:19
Edit Download
1.60 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
1.39 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
1.09 KB lrw-r--r-- 2007-02-12 23:01:19
Edit Download
728 B lrw-r--r-- 2007-02-12 23:01:19
Edit Download
525 B lrw-r--r-- 2007-02-12 23:01:19
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).