search for: weather_map

Displaying 1 result from an estimated 1 matches for "weather_map".

2006 Jan 26
3
Calling a SOAP service from within a Rails controller
...ender, params) puts dwml require ''xsd/mapping'' data = XSD::Mapping.xml2obj(dwml).data ********************************************************************************************** However, when I try to call the same from within a ruby controller, I get: SOAP::HTTPStreamError in Weather_map#data 502: Bad Gateway The code in my controller is: ********************************************************************************************** def get_weather lat = params[:lat] lon = params[:lon] t = Time.now starter = Time.local(t.year,t.mon, t.day) + (24 *36...