Forum: Ruby on Rails SOAP Service

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2e3d01ef4f4cb07809aaacf837b0d006?d=identicon&s=25 Alex Amat (alexamat)
on 2007-01-22 16:47
Hi I'm trying to set up a Soap service in rails without any luck. The
service is password protected i have tried so far to do the following:

soap_client =
SOAP::WSDLDriverFactory.new("http://myserver:8080/xplanner/soap/XPlanner?wsdl")

soap_client.options["protocol.http.basic_auth"] << [WSDL_URL, user,
password]
driver = soap_client.createDriver

and

soap_client =
SOAP::WSDLDriverFactory.new("http://user:password@myserver:8080/xplanner/soap/X...)

all i get is a time out error the url is correct, if I copy the same url
in firefox i get the wsdl

Any ideas

Thanks
26065f9cc61e982ec9e70b70f468316c?d=identicon&s=25 Francisco Velez (fjavvelez)
on 2008-04-24 20:24
Here you are a basic web service example, step by step
http://benrobb.com/2007/01/30/howto-put-wsdl-on-rails/
This topic is locked and can not be replied to.