From: ChrisH Date: 2007-01-13T04:45:13+09:00 Subject: Re: Problem with open-uri David Sulc wrote: > Hi ! > > I'm unable to open certain URIs with open-uri. Here is the code : > > require 'rexml/document' > require 'open-uri' > xml = REXML::Document.new(open("http://myoms.net/soap/oms2.wsdl")) > > The error I get is : > > /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream=': Tempfile > is not a valid input stream. It must be (RuntimeError) > either a String, IO, StringIO or Source. ran that above code and it worked: .... Maybe provide the actual code you are running, if it is not exaclty the above. Cheers