Created
February 25, 2015 21:23
-
-
Save aquateen/a837b0671e8e7f3dabc8 to your computer and use it in GitHub Desktop.
Demo from Savon Eng Talk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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