SOAP4R autogenerated SOAP service always mounted on HTTP server root?

Discussion in 'Ruby' started by yonatan_avraham@hotmail.com, May 24, 2006.

  1. Guest

    I've noticed that when generating a soaplet with wsdl2ruby it creates a
    webrick HTTP server and always mounts the soaplet onto the root (/) of
    the HTTP server (e.g. wsdl2ruby --type server --wsdl StockQuote.wsdl).
    (The WSDL specifies <soap:address
    location="http://example.com/stockquote"/>)

    Is there a way to specify that it should be mounted on a specific
    directory? e.g. http://hostname:10080/StockQuote

    Currently the server basically responds to http://hostname:10080 or
    actually any other URL that starts with http://hostname:10080. I found
    in line 34 of C:\ruby\lib\ruby\1.8\soap\rpc the following
    @server.mount('/', @soaplet) so I'm guessing that it's just hardcoded
    this way.
     
    , May 24, 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. KimHoon
    Replies:
    4
    Views:
    581
    Jack Klein
    Sep 20, 2003
  2. Replies:
    3
    Views:
    371
    perchef
    Aug 16, 2005
  3. Almad
    Replies:
    1
    Views:
    270
    Almad
    Nov 6, 2006
  4. Dan Fitzpatrick
    Replies:
    1
    Views:
    387
    NAKAMURA, Hiroshi
    Jul 16, 2005
  5. Dirk Lüsebrink
    Replies:
    4
    Views:
    199
    Dirk Lüsebrink
    Jan 1, 2007
Loading...

Share This Page