soap4r wsdl2ruby.rb issue - part: value cannot be resolved (RuntimeError)

Discussion in 'Ruby' started by Rob Goodwin, Feb 15, 2007.

  1. Rob Goodwin

    Rob Goodwin Guest

    Hi there.. Me again. I'm still having problems getting past this
    issue with wsdl2ruby.
    this is the command..

    wsdl2ruby.rb --wsdl http://www.myfonts.com/soap/myfonts.wsdl --type
    client --force

    I do get 3 files...

    MyfontsAPIDriver.rb MyfontsAPIMappingRegistry.rb MyfontsAPI.rb

    But it crashes while it's trying to generate MyfontsAPIDriver.rb it seems.

    I, [2007-02-12T03:57:17.805373 #12494] INFO -- app: Creating class definition.
    W, [2007-02-12T03:57:17.805679 #12494] WARN -- app: File
    'MyfontsAPI.rb' exists but overrides it.
    I, [2007-02-12T03:57:17.998889 #12494] INFO -- app: Creating mapping
    registry definition.
    W, [2007-02-12T03:57:17.999108 #12494] WARN -- app: File
    'MyfontsAPIMappingRegistry.rb' exists but overrides it.
    I, [2007-02-12T03:57:18.321613 #12494] INFO -- app: Creating driver.
    W, [2007-02-12T03:57:18.321850 #12494] WARN -- app: File
    'MyfontsAPIDriver.rb' exists but overrides it.
    F, [2007-02-12T03:57:18.325176 #12494] FATAL -- app: Detected an
    exception. Stopping ... part: value cannot be resolved (RuntimeError)
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/
    methodDefCreator.rb:166:in `rpcdefinedtype'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/
    methodDefCreator.rb:62:in `collect_rpcparameter'
    /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/
    methodDefCreator.rb:60:in `collect'
    /

    The trace keeps going but I thought maybe that is as much as anyone
    would need to know. Let me know if i should show more.

    what can be causing this?

    Can someone else try it with my wsdl please and let me know if it
    crashes for you as well?

    I would like to know if it's something wrong with my WSDL file or with
    wsdl2ruby.rb.. the wsdl file checks out fine with the validators i
    have run on it.

    thanks,

    robin
     
    Rob Goodwin, Feb 15, 2007
    #1
    1. Advertising

  2. Rob Goodwin

    Rob Goodwin Guest

    Is there anyone here that could help me verify that this is a problem
    with wsdl2ruby.rb and not with my WSDL ?

    this would be the command to try it..

    wsdl2ruby.rb --wsdl http://www.myfonts.com/soap/myfonts.wsdl --type
    client --force

    Is there someone in particular who is the master of soap4r that i
    should maybe contact directly?

    thanks

    r
     
    Rob Goodwin, Feb 15, 2007
    #2
    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:
    296
    NAKAMURA, Hiroshi
    Jul 20, 2004
  2. Jean-Hugues ROBERT
    Replies:
    0
    Views:
    208
    Jean-Hugues ROBERT
    Oct 25, 2004
  3. Luke Galea
    Replies:
    3
    Views:
    299
    SAKURAI Masashi
    Oct 23, 2005
  4. Victor Shepelev

    SOAP4R: problems in wsdl2ruby generator

    Victor Shepelev, Mar 16, 2006, in forum: Ruby
    Replies:
    0
    Views:
    148
    Victor Shepelev
    Mar 16, 2006
  5. Rob Goodwin
    Replies:
    0
    Views:
    102
    Rob Goodwin
    Feb 14, 2007
Loading...

Share This Page