[Rails] Calling a SOAP service from within a Rails controller

Adam Keys
Thu, 26 Jan 2006 19:54:02 -0000

On Jan 26, 2006, at 10:49 AM, Dean Holdren wrote:
>
> SOAP::HTTPStreamError in Weather_map#data
>
>  502: Bad Gateway

Did you try grabbing this file with a web browser, wget, curl, open-
uri, etc.?  Sounds like there could be a problem with the remote server.

Also, it looks like you''re going to be downloading the WSDL every
time your controller runs.  I''d download the WSDL and put it
somewhere in your app so that you aren''t having to wait for that file
every time.

--
~akk