Ruby soap4r wsdl2ruby.rb errors

后端 未结 2 829
囚心锁ツ
囚心锁ツ 2021-01-20 01:28

I am trying to run the wsdl2ruby.rb script that comes with the soap4r gem, and get the following errors:

[ral@lap etc]$ ruby /usr/lib/ruby/gems/1.9.1/gems/so         


        
2条回答
  •  悲哀的现实
    2021-01-20 01:48

    The answer posted at

    http://railsforum.com/viewtopic.php?id=41231

    worked for me. That is, I edited the file rubyhome/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb and changed line 66 from:

      c.downcase == name
    

    to

      c.to_s.downcase == name
    

    and the problem appears to be solved.

提交回复
热议问题