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/
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/
mywebservice/services/Message?wsdl")
...
rescue
puts e.message
end
Anyone can help me about this problem?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---