Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Heavy metal SOAP client
Ruby
Pull request Compare This branch is 4 commits ahead, 731 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Heavy metal SOAP client

Documentation | RDoc | Mailing list | Twitter

Build Status Gem Version Code Climate Coverage Status

Version 1 (Deprecated)

Savon version 1 is available through Rubygems and can be installed via:

$ gem install savon --version '~> 1.0'

or add it to your Gemfile like this:

gem 'savon', '~> 1.0'

Introduction

require "savon"

# create a client for your SOAP service
client = Savon.client("http://service.example.com?wsdl")

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

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

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

Documentation

Continue reading at savonrb.com/version1/

Something went wrong with that request. Please try again.