wsdl2ruby error

Discussion in 'Ruby' started by snacktime, Nov 19, 2006.

  1. snacktime

    snacktime Guest

    I'm trying to use wsdl2ruby on the Netsuite wsdl but get this error.
    This is on Freebsd 6.1, ruby 1.8.5. Any idea how to debug this or why
    it's complaining? This is a link to where you can view/download the
    wsdl.

    http://www.netsuite.com/portal/developers/resources/suitetalk-documentation.shtml



    bash-2.05b# wsdl2ruby.rb --wsdl netsuite.wsdl --type client
    ignored attr: {}default
    F, [2006-11-19T04:47:24.835714 #10404] FATAL -- app: Detected an
    exception. Stopping ... bad URI(is not URI?): [REPLACED BY
    FILTER]/xsd/platform/v2_0_0/core.xsd (URI::InvalidURIError)
    /usr/local/lib/ruby/1.8/uri/common.rb:432:in `split'
    /usr/local/lib/ruby/1.8/uri/common.rb:481:in `parse'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/import.rb:38:in
    `parse_attr'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/parser.rb:144:in
    `decode_tag'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/parser.rb:137:in
    `each'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/parser.rb:137:in
    `decode_tag'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/parser.rb:82:in
    `start_element'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser/parser.rb:67:in
    `start_element'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser/rexmlparser.rb:34:in
    `tag_start'
    /usr/local/lib/ruby/1.8/rexml/parsers/streamparser.rb:24:in `parse'
    /usr/local/lib/ruby/1.8/rexml/document.rb:185:in `parse_stream'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser/rexmlparser.rb:27:in
    `do_parse'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/parser.rb:63:in
    `parse'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/importer.rb:42:in
    `parse'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/importer.rb:30:in
    `import'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/importer.rb:19:in
    `import'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/import.rb:59:in
    `import'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/import.rb:47:in
    `parse_attr'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/parser.rb:143:in
    `decode_tag'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/parser.rb:139:in
    `each'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/parser.rb:139:in
    `decode_tag'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/parser.rb:84:in
    `start_element'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser/parser.rb:67:in
    `start_element'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser/rexmlparser.rb:34:in
    `tag_start'
    /usr/local/lib/ruby/1.8/rexml/parsers/streamparser.rb:24:in `parse'
    /usr/local/lib/ruby/1.8/rexml/document.rb:185:in `parse_stream'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser/rexmlparser.rb:27:in
    `do_parse'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/parser.rb:65:in
    `parse'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/importer.rb:29:in
    `parse'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/importer.rb:30:in
    `import'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/importer.rb:18:in
    `import'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/wsdl2ruby.rb:190:in
    `import'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/wsdl2ruby.rb:34:in
    `run'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/bin/wsdl2ruby.rb:44:in
    `run'
    /usr/local/lib/ruby/1.8/logger.rb:659:in `start'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/bin/wsdl2ruby.rb:131
    /usr/local/bin/wsdl2ruby.rb:18:in `load'
    /usr/local/bin/wsdl2ruby.rb:18
    I, [2006-11-19T04:47:24.837388 #10404] INFO -- app: End of app. (status: -1)
    snacktime, Nov 19, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben Giddings

    Problems with soap4r's wsdl2ruby.rb

    Ben Giddings, Jul 14, 2004, in forum: Ruby
    Replies:
    6
    Views:
    270
    NAKAMURA, Hiroshi
    Jul 20, 2004
  2. Jean-Hugues ROBERT
    Replies:
    0
    Views:
    178
    Jean-Hugues ROBERT
    Oct 25, 2004
  3. John Lam
    Replies:
    1
    Views:
    164
    NAKAMURA, Hiroshi
    May 29, 2005
  4. Albert Chou
    Replies:
    0
    Views:
    130
    Albert Chou
    Jun 16, 2005
  5. Luke Galea
    Replies:
    3
    Views:
    284
    SAKURAI Masashi
    Oct 23, 2005
Loading...

Share This Page