# HTTP Proxy problem in SOAP based webservice

**URL:** <https://www.ruby-forum.com/t/http-proxy-problem-in-soap-based-webservice/154560>\
**Category:** Ruby\
**Created:** [December 1, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/http-proxy-problem-in-soap-based-webservice/154560 "2008-12-01T17:25:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keith2koool](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/67e7ee/32.png) [@keith2koool](https://www.ruby-forum.com/u/keith2koool)\
**Post date:** [December 1, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/http-proxy-problem-in-soap-based-webservice/154560/1 "2008-12-01T17:25:17Z")

</div>

While accessing my application through a proxy bypassed system, the  
application runs fine, but on a proxy configured machine its gives me a  
timed out error.

Below is the pseudo code of what i am trying…

```
     factory =

```

SOAP::WSDLDriverFactory.new(“webservice\_url”).create\_rpc\_driver

The Error it gives is:

```
'connection attempt failed because the connected party did not

```

properly respond after a period of time, or established connection  
failed because connected host has failed to respond’

Need help to configure http proxy settings programatically. Any  
pointers would be of great help.

I have also seen a ruby class httpconfigloader.rb, would this be of  
any help?

Anyway of configuring proxy will do, as i need it urgently.

Thanks in advance.

Note: I have tried out Restfull webservices and they are working without  
any problem.

-Keith
