The error I get is :
<s:element maxOccurs=‘1’ name=‘year’ minOccurs=‘1’
Maybe provide the actual code you are running, if it is not exaclty the
The code I run is different, however this simple example fails too.
What I really don’t understand is that if I give a different URL (such
as “http://www.webservicex.net/genericbarcode.asmx?wsdl”), it’s OK.
The complete error stack trace is
stream=': Tempfile is not a valid input stream. It must be (RuntimeError) either a String, IO, StringIO or Source. from /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:100:ininitialize’
initialize' from /usr/lib/ruby/1.8/rexml/document.rb:178:inbuild’
from /usr/lib/ruby/1.8/rexml/document.rb:45:in `initialize’
When I reaserched this, all I was able to discover was that it seems to
be a problem with Ruby’s duck typing
(http://community.livejournal.com/evan_tech/173207.html) and/or REXML.
Any ideas ?