Heavy metal Ruby SOAP client
Ruby
Pull request Compare This branch is 18 commits ahead, 950 commits behind savonrb:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
.yardopts
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
savon.gemspec

README.md

Savon Build Status

Heavy metal Ruby SOAP client

Documentation | RDoc | Mailing list | Twitter

Installation

Savon is available through Rubygems and can be installed via:

$ gem install savon

Basic workflow

# Setting up a Savon::Client representing a SOAP service.
client = Savon::Client.new "http://service.example.com?wsdl"

client.wsdl.soap_actions
# => [:create_user, :get_user, :get_all_users]

# Executing a SOAP request to call a "getUser" action.
response = client.request :get_user do
  soap.body = { :id => 1 }
end

response.to_hash
# => { :get_user_response => { :first_name => "The", :last_name => "Hoff" } }

Ready for more?

Go ahead and read the official documentation.