Skip to content

Instantly share code, notes, and snippets.

@aquateen
Created February 25, 2015 21:23
Show Gist options
  • Save aquateen/a837b0671e8e7f3dabc8 to your computer and use it in GitHub Desktop.
Save aquateen/a837b0671e8e7f3dabc8 to your computer and use it in GitHub Desktop.
Demo from Savon Eng Talk
require "savon"
require "pry"
client = Savon.client(:wsdl => "http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL")
operations = client.operations
request = client.operation(:get_city_weather_by_zip).build(:message => { "ZIP" => "90028" })
response = client.operation(:get_city_weather_by_zip).call(:message => { "ZIP" => "90028" })
binding.pry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment