From: "NAKAMURA, Hiroshi" Date: 2003-09-19T17:22:35+09:00 Subject: Re: Problems with Soap4R 1.5.0 and Ruby 1.8 Hi, > From: "Joey Gibson" > Sent: Friday, September 19, 2003 1:57 AM > 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, Sorry for your inconvenience. Soap4r and required libraries will be bundled in the next release of Ruby/1.8. > 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. Yes. > But it dies when trying to load > xmlparser.so, which I assume is the library for one of the other > XMLParsers. > 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 Hmm. Loading "XMLParser" library which is included in the PragProg installer seems to be failed. I downloaded and installed ruby180-10.exe from http://sourceforge.net/project/showfiles.php?group_id=67007 It seems to work for me. C:\ruby\bin>ruby -rxmlparser -e 'p XML::Parser.new' # I've no idea now. Is there anyone who met the error? By the way, > irb(main):001:0> require 'soap/driver' > Loading compatibility library... From soap4r/1.5.0, require 'soap/rpc/driver' instead of 'soap/driver'. Warning about loading compatibility library shoud not be dumped then. Regards, // NaHi