From: Joey Gibson Date: 2003-09-19T01:57:56+09:00 Subject: Problems with Soap4R 1.5.0 and Ruby 1.8 I just downloaded and installed Soap4R on top of my Pragmatic Ruby 1.8.0 on Win2k. After installing the requirements that I didn't have, such as devel-logger and http-client2, I got the error at the bottom of this email when trying to require 'soap/driver'. This is occurring when Soap4R tries to discover which XML parser is available, and since 1.8.0 includes rexml, it should find that. But it dies when trying to load xmlparser.so, which I assume is the library for one of the other XMLParsers. Changing the order of loading in xsd/xmlparser.rb to try rexml first got it working for me, but I don't know what the longterm solution is. Here's what I changed: loaded = false [ 'xsd/xmlparser/rexmlparser', # I moved this one to the top 'xsd/xmlparser/xmlscanner', 'xsd/xmlparser/xmlparser', ].each do |lib| Here's the error: [C:\New\Ruby]irb irb(main):001:0> require 'soap/driver' Loading compatibility library... TypeError: XMLParser is not a class from C:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/xmlparser.so from C:/ruby/lib/ruby/site_ruby/1.8/xml/parser.rb:5 from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser/xmlparser.rb:21:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser/xmlparser.rb:21 from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser.rb:64:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser.rb:64 from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser.rb:59:in `each' from C:/ruby/lib/ruby/site_ruby/1.8/xsd/xmlparser.rb:61 from C:/ruby/lib/ruby/site_ruby/1.8/soap/parser.rb:21:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/parser.rb:21 from C:/ruby/lib/ruby/site_ruby/1.8/soap/processor.rb:23:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/processor.rb:23 from C:/ruby/lib/ruby/site_ruby/1.8/soap/rpc/proxy.rb:21:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/rpc/proxy.rb:21 from C:/ruby/lib/ruby/site_ruby/1.8/soap/proxy.rb:20:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/proxy.rb:20 from C:/ruby/lib/ruby/site_ruby/1.8/soap/rpc/driver.rb:21:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/rpc/driver.rb:21 from C:/ruby/lib/ruby/site_ruby/1.8/soap/compat.rb:29:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/compat.rb:29 from C:/ruby/lib/ruby/site_ruby/1.8/soap/driver.rb:20:in `require' from C:/ruby/lib/ruby/site_ruby/1.8/soap/driver.rb:20 from (irb):1:in `require' from (irb):1irb(main):002:0> -- Dean saor, dean saor an spiorad. Is seinn d'orain beo. http://www.joeygibson.com http://www.joeygibson.com/blog/life/Wisdom.html