# Call Web service on other network

**URL:** <https://www.ruby-forum.com/t/call-web-service-on-other-network/136923>\
**Category:** Rails\
**Created:** [May 7, 2008, 1:02pm UTC](https://www.ruby-forum.com/t/call-web-service-on-other-network/136923 "2008-05-07T13:02:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazybass](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/eb9ed0/32.png) [@crazybass](https://www.ruby-forum.com/u/crazybass)\
**Post date:** [May 7, 2008, 1:02pm UTC](https://www.ruby-forum.com/t/call-web-service-on-other-network/136923/1 "2008-05-07T13:02:42Z")

</div>

Hello

In my rails application I am trying to call a web service wich is on  
other machine and other network.  
Here is the code:  
begin  
factory\_chgst = SOAP::WSDLDriverFactory.new(“[http://148.110.139.26/](http://148.110.139.26/)  
mywebservice/services/Message?wsdl”)  
…  
rescue  
puts e.message  
end

An error occurs on the SOAP::WSDLDriverFactory.new line. The error  
message is: “no element found”.  
When a type the URL on IE, I can see the wsdl, so the URL is correct  
(we have a VPN configured to the communication between the 2  
machines).

When, with the same code I try to call the same web service but on a  
machine of the same network, there is no problem:

begin  
factory\_chgst = SOAP::WSDLDriverFactory.new(“[http://mymachine:8080/](http://mymachine:8080/)  
mywebservice/services/Message?wsdl”)  
…  
rescue  
puts e.message  
end

Anyone can help me about this problem?

Thanks
