# SOAP Service

**URL:** <https://www.ruby-forum.com/t/soap-service/82944>\
**Category:** Rails\
**Created:** [January 22, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/soap-service/82944 "2007-01-22T16:47:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexamat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bc8723/32.png) [@alexamat](https://www.ruby-forum.com/u/alexamat)\
**Post date:** [January 22, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/soap-service/82944/1 "2007-01-22T16:47:09Z")

</div>

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](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/XPlanner?wsdl](http://user:password@myserver:8080/xplanner/soap/XPlanner?wsdl)”)

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

---

<div class="post-metadata">

**Author:** ![alexamat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bc8723/32.png) [@alexamat](https://www.ruby-forum.com/u/alexamat)\
**Post date:** [April 24, 2008, 8:24pm UTC](https://www.ruby-forum.com/t/soap-service/82944/2 "2008-04-24T20:24:27Z")

</div>

Here you are a basic web service example, step by step  
[http://benrobb.com/2007/01/30/howto-put-wsdl-on-rails/](http://benrobb.com/2007/01/30/howto-put-wsdl-on-rails/)
