Skip to content

thotmx/savon

This branch is 1088 commits behind savonrb/savon:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ad92345 · Apr 5, 2011
Apr 5, 2011
Apr 5, 2011
Sep 26, 2010
Sep 1, 2010
Sep 1, 2010
Apr 5, 2011
Sep 26, 2010
Jul 20, 2010
Apr 5, 2011
Feb 2, 2011
Apr 5, 2011

Repository files navigation

Savon

Heavy metal Ruby SOAP client

Official documentation | RDoc | Google Group

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" } }

Excited to learn more?

Then you might want to go ahead and read the official documentation.

About

Heavy metal Ruby SOAP client

Resources

License

Stars

Watchers

Forks

Packages

No packages published