Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > SOAP4R autogenerated SOAP service always mounted on HTTP server root?

Reply
Thread Tools

SOAP4R autogenerated SOAP service always mounted on HTTP server root?

 
 
yonatan_avraham@hotmail.com
Guest
Posts: n/a
 
      05-24-2006
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP SOAP/HTTP GET/HTTP POST milan_9211 Software 0 01-10-2011 02:10 PM
SOAP4R and Perl::SOAP::Lite interoperability Rickard Sjostrom Ruby 0 09-06-2006 03:56 PM
[soap4r] how to get the soap stream from a client ? Stephane Wirtel Ruby 0 03-13-2006 10:34 AM
SOAP XML Generation from a SOAP Object (Soap4r 1.5.4) Dan Fitzpatrick Ruby 1 07-16-2005 01:01 PM
Reputable supplier for rack mounted server? Ben NZ Computing 6 10-09-2003 09:21 PM



Advertisments