search for: httpstreamerror

Displaying 2 results from an estimated 2 matches for "httpstreamerror".

2006 Jan 26
3
Calling a SOAP service from within a Rails controller
...39;', starter, 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...
2006 Feb 20
3
Trouble connecting to a Rails SOAP web service with a simple Ruby client
..._product_by_id'', ''id'') puts "Product: #{proxy.find_product_by_id(2).name}" I also tried http://localhost:3000/ProductBackend I see the following $ ruby client.rb /usr/local/lib/ruby/1.8/soap/streamHandler.rb:270:in `send_post'': 404: Not Found (SOAP::HTTPStreamError) from /usr/local/lib/ruby/1.8/soap/streamHandler.rb:103:in `send'' from /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:114:in `invoke'' from /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:131:in `call'' from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:27...